@@ -182,6 +182,9 @@ <h1>CoffeeScript Test Suite</h1>
182
182
doesNotThrow -> CoffeeScript.compile code, compileOpts, args...
183
183
doesNotThrow -> CoffeeScript.compile code, Object.assign({}, (compileOpts ? {}), ast: yes), args...
184
184
185
+ @skip = (description, fn) ->
186
+ console.warn "skipped test '#{description}'"
187
+
185
188
186
189
@doesNotThrow = (fn) ->
187
190
fn()
@@ -21156,7 +21159,7 @@ <h1>CoffeeScript Test Suite</h1>
21156
21159
doesNotThrow(-> error.stack)
21157
21160
notEqual error.stack.toString().indexOf(filePath), -1, "Expected " + filePath + "in stack trace: " + error.stack.toString()
21158
21161
21159
- test "#4418: stack traces for compiled files reference the correct line number", ->
21162
+ skip "#4418: stack traces for compiled files reference the correct line number", ->
21160
21163
# The browser is already compiling other anonymous scripts (the tests)
21161
21164
# which will conflict.
21162
21165
return if global.testingBrowser
@@ -21180,7 +21183,7 @@ <h1>CoffeeScript Test Suite</h1>
21180
21183
eq /StackTraceLineNumberTestFile.coffee:(\d)/.exec(error.stack.toString())[1], '3'
21181
21184
21182
21185
21183
- test "#4418: stack traces for compiled strings reference the correct line number", ->
21186
+ skip "#4418: stack traces for compiled strings reference the correct line number", ->
21184
21187
# The browser is already compiling other anonymous scripts (the tests)
21185
21188
# which will conflict.
21186
21189
return if global.testingBrowser
@@ -21199,7 +21202,7 @@ <h1>CoffeeScript Test Suite</h1>
21199
21202
eq /testCompiledStringStackTraceLineNumber.*:(\d):/.exec(error.stack.toString())[1], '3'
21200
21203
21201
21204
21202
- test "#4558: compiling a string inside a script doesn’t screw up stack trace line number", ->
21205
+ skip "#4558: compiling a string inside a script doesn’t screw up stack trace line number", ->
21203
21206
# The browser is already compiling other anonymous scripts (the tests)
21204
21207
# which will conflict.
21205
21208
return if global.testingBrowser
@@ -25716,7 +25719,7 @@ <h1>CoffeeScript Test Suite</h1>
25716
25719
</script>
25717
25720
<script type="text/x-coffeescript" class="test" id="import_assertions">
25718
25721
# This file is running in CommonJS (in Node) or as a classic Script (in the browser tests) so it can use import() within an async function, but not at the top level; and we can’t use static import.
25719
- test "dynamic import assertion", ->
25722
+ skip "dynamic import assertion", ->
25720
25723
try
25721
25724
{ default: secret } = await import('data:application/json,{"ofLife":42}', { assert: { type: 'json' } })
25722
25725
eq secret.ofLife, 42
@@ -25725,7 +25728,7 @@ <h1>CoffeeScript Test Suite</h1>
25725
25728
unless exception.message is 'Invalid module "data:application/json,{"ofLife":42}" has an unsupported MIME type "application/json"'
25726
25729
throw exception
25727
25730
25728
- test "assert keyword", ->
25731
+ skip "assert keyword", ->
25729
25732
assert = 1
25730
25733
25731
25734
try
@@ -32816,7 +32819,7 @@ <h2>Another heading</h2>
32816
32819
arrayEq v3SourceMap.sources, ['tempus_fugit.coffee']
32817
32820
eq v3SourceMap.sourceRoot, './www_root/coffee/'
32818
32821
32819
- test "node --enable-source-map built in stack trace mapping", ->
32822
+ skip "node --enable-source-map built in stack trace mapping", ->
32820
32823
new Promise (resolve, reject) ->
32821
32824
proc = fork './test/importing/error.coffee', [
32822
32825
'--enable-source-maps'
@@ -32862,7 +32865,7 @@ <h2>Another heading</h2>
32862
32865
catch exception
32863
32866
reject exception
32864
32867
32865
- test "generate correct stack traces with --enable-source-maps from bin/coffee", ->
32868
+ skip "generate correct stack traces with --enable-source-maps from bin/coffee", ->
32866
32869
new Promise (resolve, reject) ->
32867
32870
proc = fork 'test/importing/error.coffee',
32868
32871
['--enable-source-maps'],
@@ -32910,7 +32913,7 @@ <h2>Another heading</h2>
32910
32913
catch exception
32911
32914
reject exception
32912
32915
32913
- test "requiring 'CoffeeScript' doesn't change `Error.prepareStackTrace`", ->
32916
+ skip "requiring 'CoffeeScript' doesn't change `Error.prepareStackTrace`", ->
32914
32917
new Promise (resolve, reject) ->
32915
32918
# This uses `spawn` rather than the preferred `fork` because `fork` requires
32916
32919
# loading code in a separate file. The `--eval` here shows exactly what is
0 commit comments