| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -17,7 +17,7 @@ for (const descriptor of Object.values(descriptors)) { | |||
| 17 | 17 | } | |
| 18 | 18 | ||
| 19 | 19 | const urlReg = /^file:\/\/\/.*\/test\/es-module\/test-esm-import-meta\.mjs$/; | |
| 20 | - assert(import.meta.url.match(urlReg)); | ||
| 20 | + assert.match(import.meta.url, urlReg); | ||
| 21 | 21 | ||
| 22 | 22 | // Match *nix paths: `/some/path/test/es-module` | |
| 23 | 23 | // Match Windows paths: `d:\\some\\path\\test\\es-module` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments