Skip to content

Commit 9e66c9c

Browse files
committed
fix: update test
1 parent 76ec11b commit 9e66c9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/cli/build-watch/build.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { describe, test } from 'vitest';
77
describe('build --watch command', async () => {
88
test('basic', async () => {
99
const distPath = path.join(__dirname, 'dist');
10-
await fse.remove(distPath);
10+
fse.removeSync(distPath);
1111

1212
const tempConfigFile = path.join(__dirname, 'test-temp-rslib.config.mjs');
1313

@@ -30,7 +30,7 @@ export default defineConfig({
3030

3131
await awaitFileExists(distEsmIndexFile);
3232

33-
await fse.remove(distPath);
33+
fse.removeSync(distPath);
3434

3535
fse.outputFileSync(
3636
tempConfigFile,

0 commit comments

Comments
 (0)