Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 15 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import fse from 'fs-extra'; |
||
2 | import { tmpFolder } from './constants'; |
||
3 | |||
4 | export * from './utils'; |
||
5 | export * from './constants'; |
||
6 | |||
7 | export default class Test { |
||
8 | async setTmpFolder() { |
||
9 | await fse.ensureDir(tmpFolder); |
||
10 | } |
||
11 | |||
12 | async cleanTmpFolder() { |
||
13 | await fse.remove(tmpFolder); |
||
14 | } |
||
15 | } |
||
16 | |||
17 |