Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 369f7b9

Browse files
committed
test: fix tests for Node-ChakraCore
Disables a new es-module test and fixes the baseline file for eval_messages.js
1 parent 57f7bf0 commit 369f7b9

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

test/es-module/es-module.status

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ prefix es-module
99
[$jsEngine==chakracore]
1010
# These tests are failing for Node-Chakracore and should eventually be fixed
1111
test-esm-basic-imports : SKIP
12+
test-esm-cyclic-dynamic-import : SKIP
1213
test-esm-double-encoding : SKIP
1314
test-esm-dynamic-import : SKIP
1415
test-esm-encoded-path : SKIP
1516
test-esm-encoded-path-native : SKIP
1617
test-esm-example-loader : SKIP
1718
test-esm-forbidden-globals : SKIP
19+
test-esm-import-meta: SKIP
1820
test-esm-json : SKIP
1921
test-esm-loader-dependency : SKIP
2022
test-esm-loader-modulemap : SKIP
@@ -31,4 +33,3 @@ test-esm-shared-loader-dep : SKIP
3133
test-esm-shebang : SKIP
3234
test-esm-snapshot : SKIP
3335
test-esm-symlink : SKIP
34-
test-esm-import-meta: SKIP

test/message/eval_messages.chakracore.out

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SyntaxError: 'with' statements are not allowed in strict mode
1111
at Module.prototype._compile (module.js:*:*)
1212
at evalScript (bootstrap_node.js:*:*)
1313
at startup (bootstrap_node.js:*:*)
14-
at Anonymous function (bootstrap_node.js:*:*)
14+
at bootstrapNodeJSCore (bootstrap_node.js:*:*)
1515
42
1616
42
1717
[eval]:1
@@ -26,7 +26,7 @@ Error: hello
2626
at Module.prototype._compile (module.js:*:*)
2727
at evalScript (bootstrap_node.js:*:*)
2828
at startup (bootstrap_node.js:*:*)
29-
at Anonymous function (bootstrap_node.js:*:*)
29+
at bootstrapNodeJSCore (bootstrap_node.js:*:*)
3030
[eval]:1
3131
'use strict'; throw new Error("hello")
3232
^
@@ -39,7 +39,7 @@ Error: hello
3939
at Module.prototype._compile (module.js:*:*)
4040
at evalScript (bootstrap_node.js:*:*)
4141
at startup (bootstrap_node.js:*:*)
42-
at Anonymous function (bootstrap_node.js:*:*)
42+
at bootstrapNodeJSCore (bootstrap_node.js:*:*)
4343
100
4444
[eval]:1
4545
'use strict'; var x = 100; y = x;
@@ -53,7 +53,7 @@ ReferenceError: Variable undefined in strict mode
5353
at Module.prototype._compile (module.js:*:*)
5454
at evalScript (bootstrap_node.js:*:*)
5555
at startup (bootstrap_node.js:*:*)
56-
at Anonymous function (bootstrap_node.js:*:*)
56+
at bootstrapNodeJSCore (bootstrap_node.js:*:*)
5757

5858
vm.js:*
5959
return realRunInThisContext.call(this, options);
@@ -64,4 +64,4 @@ vm.js:*
6464
return realRunInThisContext.call(this, options);
6565
^
6666
10
67-
done
67+
done

0 commit comments

Comments
 (0)