From 3544728f42e659e76216894111f13c36552668e5 Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Mon, 29 May 2023 15:43:57 +0900 Subject: [PATCH] test: simplify tests --- test/fixtures/vite.noflatten.config.ts | 2 +- test/testcases.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/fixtures/vite.noflatten.config.ts b/test/fixtures/vite.noflatten.config.ts index 8c0bd67..27bd9bb 100644 --- a/test/fixtures/vite.noflatten.config.ts +++ b/test/fixtures/vite.noflatten.config.ts @@ -29,7 +29,7 @@ export default defineConfig({ dest: '.' }, { - src: '../fixtures2/baz.txt', + src: 'dir/bar.txt', dest: '' }, ], diff --git a/test/testcases.ts b/test/testcases.ts index f1be7b4..800120d 100644 --- a/test/testcases.ts +++ b/test/testcases.ts @@ -158,9 +158,9 @@ export const testcases: Record = { 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' } ] }