Skip to content

Commit dbf7305

Browse files
committed
Update file references
1 parent 9df935b commit dbf7305

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/scripts/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,17 +130,17 @@ case $1 in
130130
;;
131131

132132
test-image)
133-
node test/image/compare_pixels_test.js || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
133+
node test/image/compare_pixels_test.mjs || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
134134
exit $EXIT_STATE
135135
;;
136136

137137
test-image-mathjax3)
138-
node test/image/compare_pixels_test.js mathjax3 || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
138+
node test/image/compare_pixels_test.mjs mathjax3 || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
139139
exit $EXIT_STATE
140140
;;
141141

142142
test-image-virtual-webgl)
143-
node test/image/compare_pixels_test.js virtual-webgl || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
143+
node test/image/compare_pixels_test.mjs virtual-webgl || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
144144
exit $EXIT_STATE
145145
;;
146146

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"pretest": "node tasks/pretest.js",
4444
"test-jasmine": "karma start test/jasmine/karma.conf.js",
4545
"test-mock": "node tasks/test_mock.mjs",
46-
"test-image": "node test/image/compare_pixels_test.js",
46+
"test-image": "node test/image/compare_pixels_test.mjs",
4747
"test-export": "node test/image/export_test.js",
4848
"test-syntax": "node tasks/test_syntax.js && npm run find-strings -- --no-output",
4949
"test-bundle": "node tasks/test_bundle.js",

0 commit comments

Comments
 (0)