Steve Howell
d5c4495fa5
zjsunit: Wire $ to zjquery by default.
...
I introduce `mock_jquery` for modules that
want their own mock implementation.
2021-06-16 12:55:53 -04:00
Steve Howell
9e657dd795
node tests: Use {override} in run_test.
2021-06-16 12:55:53 -04:00
Abhijeet Prasad Bodas
b564d5c2f1
node tests: Use mock_template in compose_validate.
2021-06-14 09:17:50 -04:00
Riken Shah
f95c539122
custom_check: Avoid use of assert to avoid confusion with assert.equal.
...
This commit bans the use of `assert` and replaces it
with `assert.ok` to avoid confusion with `assert.equal`.
Fixes #18687 .
2021-06-10 09:15:57 -07:00
Steve Howell
7eece8a80e
node tests: Remove sloppy_$ for compose_validate.
2021-05-19 15:55:03 -04:00
Steve Howell
48e5077201
node tests: Extract compose_validate.js
...
This is pretty much a verbatim code move,
except that I inlined noop and reset_jquery
in the new file.
Also, in the last test, I no longer reset
the compose state.
2021-05-19 15:55:03 -04:00