File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
packages/cli-clean/src/__tests__ Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,6 @@ module.exports = {
9
9
// @todo : remove once we cover whole codebase with types
10
10
plugins : [ 'import' ] ,
11
11
settings : {
12
- react : {
13
- version : 'latest' ,
14
- } ,
15
12
'import/resolver' : {
16
13
// Use <rootDir>/tsconfig.json for typescript resolution
17
14
typescript : { } ,
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ describe('clean', () => {
13
13
jest . resetAllMocks ( ) ;
14
14
} ) ;
15
15
16
- it ( 'throws if project root is not set' , ( ) => {
17
- expect ( clean ( [ ] , mockConfig , mockConfig ) ) . rejects . toThrow ( ) ;
16
+ it ( 'throws if project root is not set' , async ( ) => {
17
+ await expect ( clean ( [ ] , mockConfig , mockConfig ) ) . rejects . toThrow ( ) ;
18
18
} ) ;
19
19
20
20
it ( 'prompts if `--include` is omitted' , async ( ) => {
You can’t perform that action at this time.
0 commit comments