Bung b286448a99 fix #8821 JS codegen can produce extreme switch statements with case … (#20548) 2 anos atrás
..
readme.md 7b9b76d840 tests/tuples/ttuples_issues.nim: test on all backends + various improvements (#16907) 3 anos atrás
t11166.nim 260a5dacb7 fixed dot operator recursive loop & macro suggest (#16922) 3 anos atrás
t11353.nim ba43156363 Sets need copying in JS (#11392) 5 anos atrás
t11354.nim cac09a43ae fix #11354 jsgen not carefully handle genAddr with nkHiddenAddr,nkStm… (#15078) 4 anos atrás
t11697.nim 76ffa4fa25 fixes #14112, tests for #12892, #12671, #11697 (#14125) 4 anos atrás
t12223.nim 4ac100c912 Fix jsgen bug with uninitialized seq (#12500) [backport] 5 anos atrás
t12303.nim 47ce24f680 fix #12303 (#15964) 4 anos atrás
t12672.nim 707367e1ca many bugfixes for js (#14158) 4 anos atrás
t14153.nim 707367e1ca many bugfixes for js (#14158) 4 anos atrás
t14570.nim b19ad22b90 Fix #14570 (#14571) 4 anos atrás
t17177.nim ec068a2687 fix #17177 (#17243) 3 anos atrás
t20233.nim 08faa04d78 fix #20233 Float ranges in case statement in JS crash compiler (#20349) 2 anos atrás
t6612.nim ee14ace5d3 Field checks for everybody (#8957) 6 anos atrás
t7109.nim fde17b159f follow #15818 and close #7109 (#15823) 4 anos atrás
t7127.nim d8fb2379c9 add testcase for #7127 (#15780) 4 anos atrás
t7224.nim c28a057a6b fix js stacktraces, unify all file,line,col formatting into a single function (#14230) 4 anos atrás
t7249.nim af1e84f54d Automatic deref for everything but pointers in asm/emit (#8891) 6 anos atrás
t7534.nim 91b37311d9 Fix AST generation for case statements (#8908) 6 anos atrás
t8231.nim 7cee63bba3 avoid #8231, bitwise move to mul,div (#15070) 4 anos atrás
t8821.nim b286448a99 fix #8821 JS codegen can produce extreme switch statements with case … (#20548) 2 anos atrás
t8914.nim 3f16711254 Fix insert/delete for JS (#8915) 6 anos atrás
t9410.nim 9df195ef58 style usages part one (openarray => openArray) (#19321) 3 anos atrás
tarrayboundscheck.nim 800ce5b950 Fix negative indexed arrays for JS, refs #13966 (#14152) 4 anos atrás
tasyncjs.nim a66637bda4 followup #16871 asyncjs.then: allow pipelining procs returning futures (#17189) 3 anos atrás
tasyncjs_bad.nim a66637bda4 followup #16871 asyncjs.then: allow pipelining procs returning futures (#17189) 3 anos atrás
tasyncjs_pragma.nim a66637bda4 followup #16871 asyncjs.then: allow pipelining procs returning futures (#17189) 3 anos atrás
tbasics.nim 9df195ef58 style usages part one (openarray => openArray) (#19321) 3 anos atrás
tbigint_backend.nim 240879bf3d array literals uses typed arrays; fix a jsgen bug (#16850) 3 anos atrás
tbyvar.nim 9df195ef58 style usages part one (openarray => openArray) (#19321) 3 anos atrás
tclosures.nim 14730d9d64 fix noDecl => nodecl (#16760) 3 anos atrás
tcodegendeclproc.nim 1699d7c2a4 Implement codegenDecl for js (#6851) 7 anos atrás
tcodegendeclvar.nim 1699d7c2a4 Implement codegenDecl for js (#6851) 7 anos atrás
tconsole.nim 0b4a475f2e Ref #14075 - enable two tests which seem to now be passing locally on FreeBSD. (#14076) 4 anos atrás
tcopying.nim 675ca997fb fixes #9674 [backport] (#13143) 5 anos atrás
tcsymbol.nim 7b09fd70ab undefine C symbols in JS backend [backport:1.6] (#19437) 2 anos atrás
tderef.nim c7e54eba91 fix genderef of jsgen (#5274) 8 anos atrás
tdiscard.nim f79ded3cb6 fix #15638 (#15789) 4 anos atrás
tdollar_float.nim bb982c644b `$(a: float)` now works consistently in nim js, avoiding printing floats as ints (#14134) 4 anos atrás
temptyseq.nim 7d6cbf290a Error -> Defect for defects (#13908) 4 anos atrás
tenumhole.nim 51cd3bd86f Fixes #5062 (#5527); JS: holes in enums 7 anos atrás
tenumnegkey.nim 51cd3bd86f Fixes #5062 (#5527); JS: holes in enums 7 anos atrás
tenumoffset.nim 51cd3bd86f Fixes #5062 (#5527); JS: holes in enums 7 anos atrás
test1.nim 1551fff853 clean up deprecated stuff and unused imports in tests (#13059) 5 anos atrás
test2.nim 352232e62d style fix: change 'JS' to 'js' to make it consistent (#13168) 5 anos atrás
testmagic.nim e9a57e9706 Fixed codegen for DotDot magic 9 anos atrás
testobjs.nim 19f5835d5c Fixes #10005 6 anos atrás
testtojsstr.nim 55c3b1444d Slightly better test case 8 anos atrás
tfieldchecks.nim d102b2f54c deprecate unsafeAddr; extend addr (#19373) 2 anos atrás
tfloatround.nim 11292a9e0b Fixes #1959, rounding floats in JS 10 anos atrás
tglobal.nim 2cfe5e0745 [closes #11625 and closes #2488]add global and threadvar(with `--threads:off` mode ) pragmas supports for JS backend (#15772) 4 anos atrás
timplicit_nodecl.nim d75760f5d3 made nodecl implicit for vars in the js backend. (#5297) 8 anos atrás
tindexdefect.nim 1e5dd9022b [js] add testcase for array indexDefect and remove todo (#19838) 2 anos atrás
tjsffi.nim 18e14f5920 js: improve tests + some docs (#16727) 4 anos atrás
tjsffi_old.nim 18e14f5920 js: improve tests + some docs (#16727) 4 anos atrás
tjshello.nim 707367e1ca many bugfixes for js (#14158) 4 anos atrás
tjshello_stacktrace.nim 707367e1ca many bugfixes for js (#14158) 4 anos atrás
tlent.nim 07c7a8a526 Optimize lent in JS [backport:1.6] (#19393) 2 anos atrás
tmangle.nim 80c360fceb fix #14350, cstrings in JS init as null (#14355) 4 anos atrás
tmodify_cstring.nim 1f9bf43100 fix #14157 (#15877) 4 anos atrás
tnativeexc.nim a3fb0a769c Try/Catch support for native JS exceptions (#8955) 6 anos atrás
tnilstrs.nim 81533a0014 [backport:1.4] JS cstring null fixes (#16979) 3 anos atrás
tobjfieldbyvar.nim d3c4c7c52f Fixes #2798 9 anos atrás
tos.nim f061971a9b envPairs works in vm, nims (#18615) 3 anos atrás
trefbyvar.nim 6df6ec27ec Improved collection-to-string behavior (#6825) 7 anos atrás
trepr.nim c651817ffd fixes devel CI (#20512) 2 anos atrás
treprinifexpr.nim 80b0748d75 fix #15651 (#15800) 4 anos atrás
tseqops.nim 240879bf3d array literals uses typed arrays; fix a jsgen bug (#16850) 3 anos atrás
tstdlib_imports.nim 0b1650576c move widestrs out of system (#20462) 2 anos atrás
tstdlib_various.nim 0de3d4292f fix #16993, #18054, #17835 runnableExamples now works with templates and nested templates (#18082) 3 anos atrás
tstreams.nim cd9af6b804 StringStream & more stdlib modules support for JS/NimScript (#14095) 4 anos atrás
tstring_assignment.nim d7cc9016f3 fixes #4470 6 anos atrás
tstringitems.nim eaf4b42ff9 JS codegen: supports toOpenArray [bugfix] 5 anos atrás
ttempgen.nim 707367e1ca many bugfixes for js (#14158) 4 anos atrás
tthismangle.nim 1a60ffcf1d Correctly mangle `this` in the JS backend (#8853) 6 anos atrás
ttryexceptnewsyntax.nim c245cfc1fd fixes #5986 js backend failed to compile try ... except new syntax (#6116) 7 anos atrás
ttypedarray.nim 240879bf3d array literals uses typed arrays; fix a jsgen bug (#16850) 3 anos atrás
tunion.nim 17f08b2939 closes #7658 (#15784) 4 anos atrás
tunittest_error.nim e07d661d16 fix #14475; unittest.require now works with `nim c`; require and check now works with -d:nodejs (#14676) 4 anos atrás
tunittest_error2.nim c56008450a fix CI failure(upstream changes) (#18820) 3 anos atrás
tvarargs.nim a5ecbf823f lots of small changes 6 anos atrás
twritestacktrace.nim 19e224866b add simple writeStackTrace for JS backend (#16016) 4 anos atrás

readme.md

notes

Prefer moving tests to a non-js directory so that they get tested across all backends automatically. Ideally, tests/js should be reserved to code that only makes sense in js.

Note also that tests for a js specific module (e.g.: std/jsbigints) belong to tests/stdlib, (e.g.: tests/stdlib/tjsbigints.nim)