File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 83
83
}
84
84
}
85
85
],
86
- "@typescript-eslint/no-explicit-any" : [" warn" ]
86
+ "@typescript-eslint/no-explicit-any" : [
87
+ " warn"
88
+ ]
87
89
}
88
90
},
89
91
"jest" : {
Original file line number Diff line number Diff line change @@ -47,11 +47,6 @@ describe('loader', () => {
47
47
} )
48
48
49
49
test ( "resolved with basic config" , async ( ) => {
50
- // const nodeImportMapPath = 'test/node.importmap';
51
- // (jest.mocked(config).nodeImportMapPath as any) = nodeImportMapPath;
52
- // (jest.mocked(config).cacheMap as any) = (new Map() as any).mockImplementation(() => ({
53
- // get: jest.fn().mockReturnValue(undefined),
54
- // }));
55
50
const checkIfNodeOrFileProtocolSpy = jest . spyOn ( utils , 'checkIfNodeOrFileProtocol' ) . mockReturnValue ( true ) ;
56
51
const context = { parentURL : "parentURL" } ;
57
52
await resolve ( specifier , context , nextResolve ) ;
You can’t perform that action at this time.
0 commit comments