Steve Howell
|
1a241cef88
|
node tests: Use array syntax more aggressively.
|
2021-02-23 09:15:36 -05:00 |
|
Steve Howell
|
914533c8bc
|
zjsunit: Prevent common mistakes with overrides.
We only allow you to replace functions with functions,
unless you have used set_global() or are dealing
with $ from zjquery.
|
2021-02-22 10:04:29 -05:00 |
|
Steve Howell
|
183c51ba51
|
node tutorial: Add make_stub example.
|
2021-02-12 12:11:23 -05:00 |
|
Steve Howell
|
a5a5863bde
|
node tutorial: Use override in helpers.
|
2021-02-12 12:11:23 -05:00 |
|
Steve Howell
|
69ddf68f4d
|
node tutorial: Inline setup.
This code didn't make sense to run inside its own
run_test wrapper.
|
2021-02-12 12:11:23 -05:00 |
|
Steve Howell
|
118a212af8
|
node tutorial: Add with_field example.
|
2021-02-12 12:11:23 -05:00 |
|
Steve Howell
|
7672e7dd7b
|
node tutorial: Use override() more.
This is just a better practice.
|
2021-02-12 12:11:23 -05:00 |
|
Steve Howell
|
ba7e49c20e
|
node tutorial: Use set_global for overlays.
|
2021-02-12 12:11:23 -05:00 |
|
Steve Howell
|
70fb1c225b
|
minor: Clarify that message_store is a deep test.
I believe the original message_store example used
to stub some things here, but the part of the tutorial
that pertains to stubbing is further down.
|
2021-02-12 12:11:23 -05:00 |
|
Steve Howell
|
c0874462dc
|
node tests: Rename general.js to tutorial.js.
|
2021-02-12 12:11:23 -05:00 |
|