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

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)