Commit 1337335
committed
Fix asyncImportHelper import paths for compiled location
The asyncImportHelper files are compiled to test/compiled/*/asyncImportHelper.js,
so the relative paths need to account for the compiled directory depth:
- Unit tests: test/compiled/unit/ needs ../../../dist/jspdf.es.js (3 levels up)
- ESM tests: test/compiled/deployment/esm/ needs ../../../../dist/jspdf.es.js (4 levels up)
These paths resolve correctly to /base/dist/jspdf.es.js when served by Karma.1 parent 3a9b5ee commit 1337335
File tree
2 files changed
+2
-2
lines changed- test
- deployment/esm
- unit
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments