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

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)