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

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)