Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Jan 19, 2022
1 parent 57b4670 commit 7a5a03a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/kit/src/core/config/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ test('fills in defaults', () => {
template: 'src/app.html'
},
floc: false,
headers: undefined,
host: undefined,
hydrate: true,
inlineStyleThreshold: 0,
methodOverride: {
Expand All @@ -55,6 +57,7 @@ test('fills in defaults', () => {
onError: 'fail',
pages: undefined
},
protocol: undefined,
router: true,
ssr: null,
target: null,
Expand Down Expand Up @@ -135,6 +138,8 @@ test('fills in partial blanks', () => {
template: 'src/app.html'
},
floc: false,
headers: undefined,
host: undefined,
hydrate: true,
inlineStyleThreshold: 0,
methodOverride: {
Expand All @@ -161,6 +166,7 @@ test('fills in partial blanks', () => {
onError: 'fail',
pages: undefined
},
protocol: undefined,
router: true,
ssr: null,
target: null,
Expand Down
3 changes: 3 additions & 0 deletions packages/kit/src/core/config/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ test('load default config (esm)', async () => {
template: join(cwd, 'src/app.html')
},
floc: false,
headers: undefined,
host: undefined,
hydrate: true,
inlineStyleThreshold: 0,
methodOverride: {
Expand All @@ -54,6 +56,7 @@ test('load default config (esm)', async () => {
onError: 'fail',
pages: undefined
},
protocol: undefined,
router: true,
ssr: null,
target: null,
Expand Down

0 comments on commit 7a5a03a

Please sign in to comment.