Skip to content

Commit

Permalink
test: simplify tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed May 29, 2023
1 parent 82e69bd commit 3544728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/vite.noflatten.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default defineConfig({
dest: '.'
},
{
src: '../fixtures2/baz.txt',
src: 'dir/bar.txt',
dest: ''
},
],
Expand Down
6 changes: 3 additions & 3 deletions test/testcases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ export const testcases: Record<string, Testcase[]> = {
dest: '/noext'
},
{
name: 'parent dir to empty dest',
src: '../fixtures2/baz.txt',
dest: '/fixtures2/baz.txt'
name: 'dir to empty dest',
src: './dir/bar.txt',
dest: '/dir/bar.txt'
}
]
}

0 comments on commit 3544728

Please sign in to comment.