ringabout 17ac8c31bf move `smtp` to nimble packages (#20953) пре 1 година
..
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 година
t20233.nim 08faa04d78 fix #20233 Float ranges in case statement in JS crash compiler (#20349) пре 2 година
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 b286448a99 fix #8821 JS codegen can produce extreme switch statements with case … (#20548) пре 2 година
t8914.nim 3f16711254 Fix insert/delete for JS (#8915) пре 6 година
t9410.nim 9df195ef58 style usages part one (openarray => openArray) (#19321) пре 2 година
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 9df195ef58 style usages part one (openarray => openArray) (#19321) пре 2 година
tbigint_backend.nim 240879bf3d array literals uses typed arrays; fix a jsgen bug (#16850) пре 3 година
tbyvar.nim 9df195ef58 style usages part one (openarray => openArray) (#19321) пре 2 година
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) пре 4 година
tcsymbol.nim 7b09fd70ab undefine C symbols in JS backend [backport:1.6] (#19437) пре 2 година
tderef.nim c7e54eba91 fix genderef of jsgen (#5274) пре 7 година
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) пре 4 година
test2.nim 352232e62d style fix: change 'JS' to 'js' to make it consistent (#13168) пре 4 година
testmagic.nim e9a57e9706 Fixed codegen for DotDot magic пре 9 година
testobjs.nim 19f5835d5c Fixes #10005 пре 5 година
testtojsstr.nim 55c3b1444d Slightly better test case пре 8 година
tfieldchecks.nim d102b2f54c deprecate unsafeAddr; extend addr (#19373) пре 2 година
tfloatround.nim 11292a9e0b Fixes #1959, rounding floats in JS пре 9 година
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) пре 7 година
tindexdefect.nim 1e5dd9022b [js] add testcase for array indexDefect and remove todo (#19838) пре 2 година
tjsffi.nim 18e14f5920 js: improve tests + some docs (#16727) пре 3 година
tjsffi_old.nim 18e14f5920 js: improve tests + some docs (#16727) пре 3 година
tjshello.nim 707367e1ca many bugfixes for js (#14158) пре 4 година
tjshello_stacktrace.nim 707367e1ca many bugfixes for js (#14158) пре 4 година
tlent.nim 07c7a8a526 Optimize lent in JS [backport:1.6] (#19393) пре 2 година
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 f061971a9b envPairs works in vm, nims (#18615) пре 3 година
trefbyvar.nim 6df6ec27ec Improved collection-to-string behavior (#6825) пре 7 година
trepr.nim c651817ffd fixes devel CI (#20512) пре 2 година
treprinifexpr.nim 80b0748d75 fix #15651 (#15800) пре 4 година
tseqops.nim 240879bf3d array literals uses typed arrays; fix a jsgen bug (#16850) пре 3 година
tstdlib_imports.nim 17ac8c31bf move `smtp` to nimble packages (#20953) пре 1 година
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)