Skip to content

Commit 0ba54ff

Browse files
committed
test(fix): fix test error via update rimraf import
1 parent 6f7bc94 commit 0ba54ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/exportFunctions.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable jest/no-hooks */
22
import fs from 'fs-extra';
3-
import rimfar from 'rimraf';
3+
import { rimrafSync } from 'rimraf';
44
import { resolve } from 'path';
55
import tmp from 'tmp';
66
import * as bff from '../src/export-functions';
@@ -40,7 +40,7 @@ describe('exportFunctions() function exporter test suite', () => {
4040
});
4141

4242
afterAll(() => {
43-
rimfar.sync(tempFuncDir);
43+
rimrafSync(tempFuncDir);
4444
tmp.setGracefulCleanup();
4545
});
4646

0 commit comments

Comments
 (0)