@@ -182,6 +182,9 @@ <h1>CoffeeScript Test Suite</h1>
182182 doesNotThrow -> CoffeeScript.compile code, compileOpts, args...
183183 doesNotThrow -> CoffeeScript.compile code, Object.assign({}, (compileOpts ? {}), ast: yes), args...
184184
185+ @skip = (description, fn) ->
186+ console.warn "skipped test '#{description}'"
187+
185188
186189@doesNotThrow = (fn) ->
187190 fn()
@@ -21156,7 +21159,7 @@ <h1>CoffeeScript Test Suite</h1>
2115621159 doesNotThrow(-> error.stack)
2115721160 notEqual error.stack.toString().indexOf(filePath), -1, "Expected " + filePath + "in stack trace: " + error.stack.toString()
2115821161
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", ->
2116021163 # The browser is already compiling other anonymous scripts (the tests)
2116121164 # which will conflict.
2116221165 return if global.testingBrowser
@@ -21180,7 +21183,7 @@ <h1>CoffeeScript Test Suite</h1>
2118021183 eq /StackTraceLineNumberTestFile.coffee:(\d)/.exec(error.stack.toString())[1], '3'
2118121184
2118221185
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", ->
2118421187 # The browser is already compiling other anonymous scripts (the tests)
2118521188 # which will conflict.
2118621189 return if global.testingBrowser
@@ -21199,7 +21202,7 @@ <h1>CoffeeScript Test Suite</h1>
2119921202 eq /testCompiledStringStackTraceLineNumber.*:(\d):/.exec(error.stack.toString())[1], '3'
2120021203
2120121204
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", ->
2120321206 # The browser is already compiling other anonymous scripts (the tests)
2120421207 # which will conflict.
2120521208 return if global.testingBrowser
@@ -25716,7 +25719,7 @@ <h1>CoffeeScript Test Suite</h1>
2571625719</script>
2571725720<script type="text/x-coffeescript" class="test" id="import_assertions">
2571825721# 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", ->
2572025723 try
2572125724 { default: secret } = await import('data:application/json,{"ofLife":42}', { assert: { type: 'json' } })
2572225725 eq secret.ofLife, 42
@@ -25725,7 +25728,7 @@ <h1>CoffeeScript Test Suite</h1>
2572525728 unless exception.message is 'Invalid module "data:application/json,{"ofLife":42}" has an unsupported MIME type "application/json"'
2572625729 throw exception
2572725730
25728- test "assert keyword", ->
25731+ skip "assert keyword", ->
2572925732 assert = 1
2573025733
2573125734 try
@@ -32816,7 +32819,7 @@ <h2>Another heading</h2>
3281632819 arrayEq v3SourceMap.sources, ['tempus_fugit.coffee']
3281732820 eq v3SourceMap.sourceRoot, './www_root/coffee/'
3281832821
32819- test "node --enable-source-map built in stack trace mapping", ->
32822+ skip "node --enable-source-map built in stack trace mapping", ->
3282032823 new Promise (resolve, reject) ->
3282132824 proc = fork './test/importing/error.coffee', [
3282232825 '--enable-source-maps'
@@ -32862,7 +32865,7 @@ <h2>Another heading</h2>
3286232865 catch exception
3286332866 reject exception
3286432867
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", ->
3286632869 new Promise (resolve, reject) ->
3286732870 proc = fork 'test/importing/error.coffee',
3286832871 ['--enable-source-maps'],
@@ -32910,7 +32913,7 @@ <h2>Another heading</h2>
3291032913 catch exception
3291132914 reject exception
3291232915
32913- test "requiring 'CoffeeScript' doesn't change `Error.prepareStackTrace`", ->
32916+ skip "requiring 'CoffeeScript' doesn't change `Error.prepareStackTrace`", ->
3291432917 new Promise (resolve, reject) ->
3291532918 # This uses `spawn` rather than the preferred `fork` because `fork` requires
3291632919 # loading code in a separate file. The `--eval` here shows exactly what is
0 commit comments