Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Jan 24, 2024
1 parent d20e8b4 commit b18ff2c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions js-api-spec/importer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -766,11 +766,7 @@ it('throws an ArgumentError when the result sourceMapUrl is missing a scheme', (

runOnlyForImpl('browser', () => {
it('node package loader throws error in browser', () => {
expect(() =>
compileString('@use "pkg:foo";', {
importers: [new NodePackageImporter()],
})
).toThrow();
expect(() => new NodePackageImporter()).toThrow();
});
});

Expand Down

0 comments on commit b18ff2c

Please sign in to comment.