Chrome Release Bot (LUCI) 4762b62e7d Publish DEPS for 106.0.5249.13 il y a 1 an
..
resources 4762b62e7d Publish DEPS for 106.0.5249.13 il y a 1 an
README.md 4762b62e7d Publish DEPS for 106.0.5249.13 il y a 1 an
parsing.html 4762b62e7d Publish DEPS for 106.0.5249.13 il y a 1 an

README.md

Import maps internal tests

These tests are essentially unit tests of the import map parser. The only observable effect of an import map is how it impacts module resolution, which is tested in external/wpt. But it’s nice to have these sorts of parsing unit tests too.

Format

The format is similar to the resolution tests format, which is described in external/wpt/import-maps/README.md. The only differences are that for a given test object:

  • Instead of expectedResults, we have expectedParsedImportMap.
  • baseURL is not applicable and cannot appear.