JS language module tests failing
See original GitHub issueThe language module tests are failing in JS.
test.js.quick:
[ceylon-run-js] ** Running Language Module Tests **
[ceylon-run-js] Equality
[ceylon-run-js] Comparable
[ceylon-run-js] Clones
[ceylon-run-js] Booleans
[ceylon-run-js] Numbers
[ceylon-run-js] Testing 53-bit integers
[ceylon-run-js] 33-bit shift tests disabled for JS
[ceylon-run-js] Bytes
[ceylon-run-js] Characters
[ceylon-run-js] Strings
[ceylon-run-js] /Users/gavin/ceylon/language/build/test-repo/ceylon/language/1.3.3-SNAPSHOT/ceylon.language-1.3.3-SNAPSHOT.js:3514
[ceylon-run-js] do {--to} while (to>=0 && chars(this.$_get(to)));
[ceylon-run-js] ^
[ceylon-run-js]
[ceylon-run-js] TypeError: chars is not a function
[ceylon-run-js] at String.string$.trimTrailing (/Users/gavin/ceylon/language/build/test-repo/ceylon/language/1.3.3-SNAPSHOT/ceylon.language-1.3.3-SNAPSHOT.js:3514:27)
[ceylon-run-js] at c6 (/Users/gavin/ceylon/language/build/test-repo/ceylon/language/1.3.3-SNAPSHOT/ceylon.language-1.3.3-SNAPSHOT.js:820:10)
[ceylon-run-js] at cons.next (/Users/gavin/ceylon/language/build/test-repo/ceylon/language/1.3.3-SNAPSHOT/ceylon.language-1.3.3-SNAPSHOT.js:1408:67)
[ceylon-run-js] at strings (/Users/gavin/ceylon/language/build/test/default/default.js:12059:23)
[ceylon-run-js] at runTests (/Users/gavin/ceylon/language/build/test/default/default.js:9866:1)
[ceylon-run-js] at runAndAssert (/Users/gavin/ceylon/language/build/test/default/default.js:9942:1)
[ceylon-run-js] at [eval]:1:477
[ceylon-run-js] at ContextifyScript.Script.runInThisContext (vm.js:23:33)
[ceylon-run-js] at Object.runInThisContext (vm.js:95:38)
[ceylon-run-js] at Object.<anonymous> ([eval]-wrapper:6:22)
[ceylon-run-js] ceylon run-js: Node process exited with non-zero exit code: 1
@chochos would you please help me out with this one?
Issue Analytics
- State:
- Created 6 years ago
- Comments:32 (32 by maintainers)
Top Results From Across the Web
ts-jest fails to run a tsx test file because of "Import" from a ...
1 Answer 1 ... The problem is that Jest is not transforming that file. And in plain JS, import is not valid. You...
Read more >How to Start Unit Testing Your JavaScript Code - freeCodeCamp
Once you save the file, Jest will inform you that the test failed. That helps you discover potential issues even before committing your...
Read more >Unit Testing in JavaScript: A Tutorial | BrowserStack
If a unit test fails, then in the vast majority of cases testers can be sure that the specific function being tested is...
Read more >Testing Error Handling in node.js | by Lars Trieloff
Now, external REST APIs are not the only way our functions under test are importing behavior that is prone to failure (but not...
Read more >Handling common JavaScript problems - MDN Web Docs
Now we'll look at common cross-browser JavaScript problems and how to fix ... Familiarity with the core HTML, CSS, and JavaScript languages; ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Like #1533 or #1466. Looks like
invocation.isUnknownArguments()
should tell us if this is a runtime-spread (the term we decided on in the end).OK, then we can close this one.