Skip to content

Commit 20a37b4

Browse files
committed
Rename karma config files back to .js - Karma cannot load .ts configs
- Renamed all karma.conf.ts files to karma.conf.js - Updated package.json to reference .js config files - Updated require statements in karma configs to require .js files - Karma requires .js config files and cannot load TypeScript directly
1 parent 1002184 commit 20a37b4

File tree

16 files changed

+29
-29
lines changed

16 files changed

+29
-29
lines changed

dist/jspdf.es.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 3.0.3 Built on 2025-11-09T20:52:52.859Z
5-
* CommitID b71ec4ee2c
4+
* Version 3.0.3 Built on 2025-11-09T21:04:31.161Z
5+
* CommitID 1002184b4d
66
*
77
* Copyright (c) 2010-2025 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
88
* 2015-2025 yWorks GmbH, http://www.yworks.com

dist/jspdf.es.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.node.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 3.0.3 Built on 2025-11-09T20:52:52.893Z
5-
* CommitID b71ec4ee2c
4+
* Version 3.0.3 Built on 2025-11-09T21:04:31.195Z
5+
* CommitID 1002184b4d
66
*
77
* Copyright (c) 2010-2025 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
88
* 2015-2025 yWorks GmbH, http://www.yworks.com

dist/jspdf.node.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspdf.umd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/** @license
22
*
33
* jsPDF - PDF Document creation from JavaScript
4-
* Version 3.0.3 Built on 2025-11-09T20:52:52.819Z
5-
* CommitID b71ec4ee2c
4+
* Version 3.0.3 Built on 2025-11-09T21:04:31.121Z
5+
* CommitID 1002184b4d
66
*
77
* Copyright (c) 2010-2025 James Hall <[email protected]>, https://github.com/MrRio/jsPDF
88
* 2015-2025 yWorks GmbH, http://www.yworks.com

dist/jspdf.umd.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/polyfills.es.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/polyfills.umd.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@
101101
"version": "yarpm run build && yarpm run generate-docs && git add -A dist docs",
102102
"pretest": "yarpm run build",
103103
"test": "yarpm run test-node && yarpm run test-ci",
104-
"test-ci": "karma start test/unit/karma.conf.ts --browsers=ChromeHeadless --single-run --verbose && for a in coverage/*; do codeclimate-test-reporter < \\\"$a/lcov.info\\\"; break; done",
104+
"test-ci": "karma start test/unit/karma.conf.js --browsers=ChromeHeadless --single-run --verbose && for a in coverage/*; do codeclimate-test-reporter < \\\"$a/lcov.info\\\"; break; done",
105105
"test-local": "yarpm run test-unit && yarpm run test-node && yarpm run test-amd && yarpm run test-esm && yarpm run test-globals && yarpm run test-typescript && yarpm run test-webworker",
106-
"test-unit": "karma start test/unit/karma.conf.ts --single-run",
107-
"test-amd": "karma start test/deployment/amd/karma.conf.ts --single-run",
108-
"test-esm": "karma start test/deployment/esm/karma.conf.ts --single-run",
109-
"test-globals": "karma start test/deployment/globals/karma.conf.ts --single-run",
110-
"test-typescript": "karma start test/deployment/typescript/karma.conf.ts --single-run",
111-
"test-webworker": "karma start test/deployment/webworker/karma.conf.ts --single-run",
106+
"test-unit": "karma start test/unit/karma.conf.js --single-run",
107+
"test-amd": "karma start test/deployment/amd/karma.conf.js --single-run",
108+
"test-esm": "karma start test/deployment/esm/karma.conf.js --single-run",
109+
"test-globals": "karma start test/deployment/globals/karma.conf.js --single-run",
110+
"test-typescript": "karma start test/deployment/typescript/karma.conf.js --single-run",
111+
"test-webworker": "karma start test/deployment/webworker/karma.conf.js --single-run",
112112
"test-node": "jasmine --config=test/deployment/node/jasmine.json",
113113
"test-training": "node test/utils/reference-server.ts",
114114
"test-typings": "tsc -p types/tsconfig.json && tsc -p types/tsconfig-node.json",

test/deployment/amd/karma.conf.ts renamed to test/deployment/amd/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const karmaConfig = require("../../karma.common.conf.ts");
1+
const karmaConfig = require("../../karma.common.conf.js");
22

33
module.exports = config => {
44
config.set({

0 commit comments

Comments
 (0)