metagn 76c5f16ac5 stricter skip for conversions in array indices in transf (#24424) il y a 1 mois
..
readme.md 7b9b76d840 tests/tuples/ttuples_issues.nim: test on all backends + various improvements (#16907) il y a 3 ans
t11166.nim 260a5dacb7 fixed dot operator recursive loop & macro suggest (#16922) il y a 3 ans
t11353.nim ba43156363 Sets need copying in JS (#11392) il y a 5 ans
t11354.nim cac09a43ae fix #11354 jsgen not carefully handle genAddr with nkHiddenAddr,nkStm… (#15078) il y a 4 ans
t11697.nim 76ffa4fa25 fixes #14112, tests for #12892, #12671, #11697 (#14125) il y a 4 ans
t12223.nim 4ac100c912 Fix jsgen bug with uninitialized seq (#12500) [backport] il y a 5 ans
t12303.nim 47ce24f680 fix #12303 (#15964) il y a 4 ans
t12672.nim 707367e1ca many bugfixes for js (#14158) il y a 4 ans
t14153.nim 707367e1ca many bugfixes for js (#14158) il y a 4 ans
t14570.nim b19ad22b90 Fix #14570 (#14571) il y a 4 ans
t17177.nim ec068a2687 fix #17177 (#17243) il y a 3 ans
t20233.nim 08faa04d78 fix #20233 Float ranges in case statement in JS crash compiler (#20349) il y a 2 ans
t20235.nim 7ae7832f76 JS backend properly extends string with `setLen` (#21087) il y a 2 ans
t21209.nim 76e4f8afb1 fixes #21209; exclude threads options for JS (#21233) il y a 1 an
t21209.nims 76e4f8afb1 fixes #21209; exclude threads options for JS (#21233) il y a 1 an
t21247.nim 0a45543cc1 Specify that address is taken when converter takes a var parameter (#21391) il y a 1 an
t21439.nim 779bc8474b fixes #4299 #12492 #10849; lambda lifting for JS backend (#23484) il y a 8 mois
t6612.nim ee14ace5d3 Field checks for everybody (#8957) il y a 6 ans
t7109.nim 407c0cb64a fixes #23522; fixes pre-existing wrong type for iter in `liftIterSym` (#23538) il y a 8 mois
t7127.nim d8fb2379c9 add testcase for #7127 (#15780) il y a 4 ans
t7224.nim c28a057a6b fix js stacktraces, unify all file,line,col formatting into a single function (#14230) il y a 4 ans
t7249.nim af1e84f54d Automatic deref for everything but pointers in asm/emit (#8891) il y a 6 ans
t7534.nim 91b37311d9 Fix AST generation for case statements (#8908) il y a 6 ans
t8231.nim 7cee63bba3 avoid #8231, bitwise move to mul,div (#15070) il y a 4 ans
t8821.nim b286448a99 fix #8821 JS codegen can produce extreme switch statements with case … (#20548) il y a 2 ans
t8914.nim 3f16711254 Fix insert/delete for JS (#8915) il y a 6 ans
t9410.nim 9df195ef58 style usages part one (openarray => openArray) (#19321) il y a 3 ans
tarrayboundscheck.nim 800ce5b950 Fix negative indexed arrays for JS, refs #13966 (#14152) il y a 4 ans
tasyncjs.nim 44b64e726e Don't recurse into inner functions during asyncjs transform (#23036) il y a 1 an
tasyncjs_bad.nim a66637bda4 followup #16871 asyncjs.then: allow pipelining procs returning futures (#17189) il y a 3 ans
tasyncjs_pragma.nim a66637bda4 followup #16871 asyncjs.then: allow pipelining procs returning futures (#17189) il y a 3 ans
tbasics.nim 9df195ef58 style usages part one (openarray => openArray) (#19321) il y a 3 ans
tbigint_backend.nim 240879bf3d array literals uses typed arrays; fix a jsgen bug (#16850) il y a 3 ans
tbyvar.nim 9df195ef58 style usages part one (openarray => openArray) (#19321) il y a 3 ans
tclosures.nim 14730d9d64 fix noDecl => nodecl (#16760) il y a 3 ans
tcodegendeclproc.nim 8c9fde76b5 fixes JS tests (#23479) il y a 8 mois
tcodegendeclvar.nim 1699d7c2a4 Implement codegenDecl for js (#6851) il y a 7 ans
tconsole.nim 0b4a475f2e Ref #14075 - enable two tests which seem to now be passing locally on FreeBSD. (#14076) il y a 4 ans
tcopying.nim 675ca997fb fixes #9674 [backport] (#13143) il y a 5 ans
tcsymbol.nim 7b09fd70ab undefine C symbols in JS backend [backport:1.6] (#19437) il y a 2 ans
tdanger.nim fbf9e94145 fixes jsbigint64 regression; keeps convs to `Number` in danger mode (#23926) il y a 4 mois
tderef.nim c7e54eba91 fix genderef of jsgen (#5274) il y a 8 ans
tdiscard.nim f79ded3cb6 fix #15638 (#15789) il y a 4 ans
tdollar_float.nim bb982c644b `$(a: float)` now works consistently in nim js, avoiding printing floats as ints (#14134) il y a 4 ans
temptyseq.nim 7d6cbf290a Error -> Defect for defects (#13908) il y a 4 ans
tenumhole.nim 51cd3bd86f Fixes #5062 (#5527); JS: holes in enums il y a 7 ans
tenumnegkey.nim 51cd3bd86f Fixes #5062 (#5527); JS: holes in enums il y a 7 ans
tenumoffset.nim 51cd3bd86f Fixes #5062 (#5527); JS: holes in enums il y a 7 ans
test1.nim 1551fff853 clean up deprecated stuff and unused imports in tests (#13059) il y a 5 ans
test2.nim 352232e62d style fix: change 'JS' to 'js' to make it consistent (#13168) il y a 5 ans
testmagic.nim e9a57e9706 Fixed codegen for DotDot magic il y a 9 ans
testobjs.nim 19f5835d5c Fixes #10005 il y a 6 ans
testtojsstr.nim 55c3b1444d Slightly better test case il y a 8 ans
tfieldchecks.nim d102b2f54c deprecate unsafeAddr; extend addr (#19373) il y a 2 ans
tfloatround.nim 11292a9e0b Fixes #1959, rounding floats in JS il y a 10 ans
tglobal.nim 2cfe5e0745 [closes #11625 and closes #2488]add global and threadvar(with `--threads:off` mode ) pragmas supports for JS backend (#15772) il y a 4 ans
timplicit_nodecl.nim d75760f5d3 made nodecl implicit for vars in the js backend. (#5297) il y a 8 ans
tindexdefect.nim 76c5f16ac5 stricter skip for conversions in array indices in transf (#24424) il y a 1 mois
tint64litgen.nim c73eedfe6e give int literals matched type on generic match (#24234) il y a 2 mois
tjsffi.nim 4867931af3 implement `legacy:jsNoLambdaLifting` for compatibility (#23727) il y a 6 mois
tjsffi_old.nim 779bc8474b fixes #4299 #12492 #10849; lambda lifting for JS backend (#23484) il y a 8 mois
tjshello.nim 707367e1ca many bugfixes for js (#14158) il y a 4 ans
tjshello_stacktrace.nim 707367e1ca many bugfixes for js (#14158) il y a 4 ans
tjsnimscombined.nim 6cc50ec316 fix system for nimscript config files on js backend (#24135) il y a 3 mois
tjsnimscombined.nims 6cc50ec316 fix system for nimscript config files on js backend (#24135) il y a 3 mois
tlent.nim 07c7a8a526 Optimize lent in JS [backport:1.6] (#19393) il y a 2 ans
tmangle.nim 80c360fceb fix #14350, cstrings in JS init as null (#14355) il y a 4 ans
tmodify_cstring.nim 1f9bf43100 fix #14157 (#15877) il y a 4 ans
tnativeexc.nim 2ae344f1c2 minor fixes for node20 (#22894) il y a 1 an
tneginthash.nim f718f295df fix VM uint conversion size bug, stricter int gen on JS (#22150) il y a 1 an
tnilstrs.nim 81533a0014 [backport:1.4] JS cstring null fixes (#16979) il y a 3 ans
tobjfieldbyvar.nim d3c4c7c52f Fixes #2798 il y a 9 ans
tos.nim 94c5996877 Update tests/js/tos.nim, make isAbsolute tested on nodejs under Windows. (#23377) il y a 9 mois
trefbyvar.nim 6df6ec27ec Improved collection-to-string behavior (#6825) il y a 7 ans
trepr.nim c651817ffd fixes devel CI (#20512) il y a 2 ans
treprinifexpr.nim 80b0748d75 fix #15651 (#15800) il y a 4 ans
tseqops.nim 240879bf3d array literals uses typed arrays; fix a jsgen bug (#16850) il y a 3 ans
tsourcemap.nim 4fa86422c0 stdlib tests now check refc too (#21664) il y a 1 an
tstdlib_imports.nim afc30ca879 fixes #19863; move sha1, md5 to nimble packages for 2.0 (#21702) il y a 1 an
tstdlib_various.nim 5e529b3bfa `strutils.split/rsplit` now return src on an empty sep (#22136) il y a 1 an
tstreams.nim cd9af6b804 StringStream & more stdlib modules support for JS/NimScript (#14095) il y a 4 ans
tstring_assignment.nim d7cc9016f3 fixes #4470 il y a 6 ans
tstringitems.nim eaf4b42ff9 JS codegen: supports toOpenArray [bugfix] il y a 5 ans
ttempgen.nim 707367e1ca many bugfixes for js (#14158) il y a 4 ans
tthismangle.nim 1a60ffcf1d Correctly mangle `this` in the JS backend (#8853) il y a 6 ans
ttryexceptnewsyntax.nim c245cfc1fd fixes #5986 js backend failed to compile try ... except new syntax (#6116) il y a 7 ans
ttypedarray.nim 041098e882 clean up stdlib with --jsbigint64 (#24255) il y a 2 mois
tunion.nim 17f08b2939 closes #7658 (#15784) il y a 4 ans
tunittest_error.nim e07d661d16 fix #14475; unittest.require now works with `nim c`; require and check now works with -d:nodejs (#14676) il y a 4 ans
tunittest_error2.nim c56008450a fix CI failure(upstream changes) (#18820) il y a 3 ans
tvarargs.nim a5ecbf823f lots of small changes il y a 6 ans
twritestacktrace.nim 19e224866b add simple writeStackTrace for JS backend (#16016) il y a 4 ans

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)