Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rChaoz committed Nov 15, 2024
1 parent 8de3c79 commit 6c43108
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/kit/kit.vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export default defineConfig({
'**/node_modules/**',
'**/.svelte-kit/**',
'**/.{idea,git,cache,output,temp}/**',
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*'
'**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build}.config.*',
'**/src/core/sync/create_manifest_data/test/**'
]
}
});
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,10 @@ test('ignores things that look like lockfiles', () => {

test('works with custom extensions', () => {
const { nodes, routes } = create('samples/custom-extension', {
extensions: ['.jazz', '.beebop', '.funk', '.svelte']
extensions: ['.jazz', '.beebop', '.funk', '.svelte'],
kit: {
testExtensions: ['.rizz.jazz']
}
});

expect(nodes.map(simplify_node)).toEqual([
Expand Down
Empty file.

0 comments on commit 6c43108

Please sign in to comment.