Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 16 |
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 | // eslint-disable-next-line import/export |
||
6 | export * from './constants'; |
||
7 | |||
8 | export default class Test { |
||
9 | async setTmpFolder() { |
||
10 | await fse.ensureDir(tmpFolder); |
||
11 | } |
||
12 | |||
13 | async cleanTmpFolder() { |
||
14 | await fse.remove(tmpFolder); |
||
15 | } |
||
16 | } |
||
17 | |||
18 |