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 8383 }
8484 }
8585 ],
86- "@typescript-eslint/no-explicit-any" : [" warn" ]
86+ "@typescript-eslint/no-explicit-any" : [
87+ " warn"
88+ ]
8789 }
8890 },
8991 "jest" : {
Original file line number Diff line number Diff line change @@ -47,11 +47,6 @@ describe('loader', () => {
4747 } )
4848
4949 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- // }));
5550 const checkIfNodeOrFileProtocolSpy = jest . spyOn ( utils , 'checkIfNodeOrFileProtocol' ) . mockReturnValue ( true ) ;
5651 const context = { parentURL : "parentURL" } ;
5752 await resolve ( specifier , context , nextResolve ) ;
You can’t perform that action at this time.
0 commit comments