Skip to content

Commit

Permalink
fix tests by upgrading es-module-lexer version
Browse files Browse the repository at this point in the history
  • Loading branch information
JayaKrishnaNamburu committed Dec 8, 2023
1 parent 2cb77b6 commit e277496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ownname.test.ts
Expand Up @@ -9,11 +9,11 @@ const scenarios: Scenario[] = [
commands: ["jspm install app"],
validationFn: async (files: Map<string, string>) => {
// Installing the own-name package "app" should result in the version of
// es-module-lexer in the import map being upgraded to 1.3.1, since it's a
// es-module-lexer in the import map being upgraded to 1.4.1, since it's a
// transitive dependency of "./app.js".
const map = JSON.parse(files.get("importmap.json"));
assert(
map?.imports?.["es-module-lexer"]?.includes("es-module-lexer@1.3.1")
map?.imports?.["es-module-lexer"]?.includes("es-module-lexer@1.4.1")
);
},
},
Expand Down

0 comments on commit e277496

Please sign in to comment.