zulip/frontend_tests/zjsunit
Steve Howell dc1795a3da node tests: Find files in Python.
The code to run single files was added
in c15695e514,
and it's just kinda strange code.

We already do a lot of file logic in Python
to check for line-coverage, so it's easier
to just have all the logic in Python.

This adds a new feature--you can now specify
the actual file:

    ./tools/test-js-with-node frontend_tests/node_tests/people.js

(This is helpful if you just want to use
shell autocomplete.)

Another minor change is that if you specify
individual files, we won't sort them.  This is
important when you're trying to hunt down test
leaks.

Finally, we have a nicer message if we can't find
the file.
2020-09-03 07:57:58 -04:00
..
handlebars.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
i18n.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
index.js node tests: Find files in Python. 2020-09-03 07:57:58 -04:00
markdown_assert.js js: Elide .js and .ts extensions from imports and requires. 2020-09-01 16:43:02 -07:00
mdiff.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
namespace.js node_tests: Don't remove require cache of module in zrequire. 2020-09-01 19:55:58 -07:00
stub.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
zblueslip.js js: Add "use strict" directive to CommonJS files. 2020-07-31 22:09:46 -07:00
zjquery.js popovers: Align user profile popover with right col USERS header. 2020-08-31 14:01:11 -07:00