Pierre-Yves Gerardy
dc15acd791
Improve attrs setting performance
...
before:
> mutate styles/properties x 7,999 ops/sec ±10.87% (46 runs sampled)
after:
> mutate styles/properties x 16,104 ops/sec ±4.36% (66 runs sampled)
2018-06-01 21:27:02 +02:00
Pierre-Yves Gerardy
4197cf0ae1
Enable the tests for #1804
2018-06-01 21:27:02 +02:00
Pierre-Yves Gérardy
9016091adf
[ospec] docs and change log
2018-06-01 20:22:58 +02:00
Pierre-Yves Gérardy
14695c9cda
[ospec] Allow more than one o.only() test
2018-06-01 20:22:58 +02:00
Pierre-Yves Gérardy
a23216b987
[ospec] record errors thrown in tests as failures
2018-06-01 20:22:58 +02:00
Pierre-Yves Gérardy
53597871b8
[ospec] don't allocate task for tests that will be skipped in o.only mode, fix stack overflow
2018-06-01 20:22:58 +02:00
Gandalf-the-Bot
277f35fb3a
Bundled output for commit 285cb5382f [skip ci]
2018-05-29 21:52:06 +00:00
Pierre-Yves Gérardy
285cb5382f
[render] cleanup and comments
2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
144ce68192
[render/render] get rid of vnode.skip
2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
e3b240032a
[domMock] don't call public methods from DOM API methods (it messes up spying)
2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
2cfc68359d
[render/render] Introduce longest increasing subsequence-based node moves in keyed diff, fix #1791 , fix #2026
2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
95ec3d28aa
test for the LIS-based diff
2018-05-29 23:50:29 +02:00
Pierre-Yves Gérardy
24875832e9
[ospec] Document changes made to the result objects.
2018-05-29 23:02:23 +02:00
Gandalf-the-Bot
315b9f13fa
Bundled output for commit 0484758837 [skip ci]
2018-05-29 20:44:39 +00:00
Pierre-Yves Gérardy
0484758837
[ospec] docs and change log tweaks
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
d05bc9be49
[ospec] make it clear the timeout parameter is deprecated.
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
4a4377e553
[ospec] Make the specTimeout tests hopefully less flaky
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
aa0f9eae98
[ospec] o.defaultTimeout => o.specTimeout, and documentation.
...
The timeout parameter is deprecated but will still work for now
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
25975c5ce4
[ospec] Restore the assertion success on async test finalization in time
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
8ebf036b8c
[ospec] Improve the done() call checker
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
33180370ea
[ospec] Change the reserved test name token from '__' to '\x01'
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
0574d193a0
[ospec] better variable name
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
285d00742d
[ospec] Detect incomplete assertions
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
21a6a857ef
[ospec] update change log
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
ad83d617e1
[ospec] replace ES6 std lib call with ES5 equivalent
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
e342805bfb
[ospec] Add o.defaultTimeout()
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
9c1f8d5f35
[ospec] cleanup in code and tests, better error messages
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
e473536866
[ospec] cleanup o.only
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
f6e23da56c
[ospec] update change log
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
8d78d493a7
[ospec] tests for the done() callback
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
64680425e7
[ospec] Add o.timeout() to set a timeout for Promise-based async tests
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
b292f75bd8
[ospec] don't count succesful async test termination as a test success
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
89b665fbf6
[ospec] revamp async testing finalization
2018-05-29 22:42:20 +02:00
Pierre-Yves Gérardy
ff1a07df1b
[ospec] give async timeouts a proper stack trace
2018-05-29 22:42:20 +02:00
Gandalf-the-Bot
da0c5c9b9a
Bundled output for commit 1579fe8430 [skip ci]
2018-05-29 09:54:58 +00:00
Barney Carroll
1579fe8430
Do not normalise component children on ingestion ( #2155 )
...
* Do not normalise component children on ingestion
* Don't normalise vnode children
* Component hyperscript tests: children aren't normalised
* test, not text
* Update change log: #2155 & #2064
2018-05-29 10:53:16 +01:00
Gilbert
0f498e0aec
Fix stack trace edge case
2018-05-25 17:45:01 +02:00
Pierre-Yves Gérardy
64b1e47e66
Change log cleanup
2018-05-25 16:18:31 +02:00
Pierre-Yves Gérardy
2969b8323c
ospec v2.1.0
2018-05-25 15:12:12 +02:00
Henry
4e35d0591c
quick grammar fix ( #2163 )
2018-05-24 16:23:20 -10:00
Pierre-Yves Gérardy
562d680981
[ospec/bin] Back to ES5 (and complimentary cleanup), fix #2160
2018-05-24 18:57:04 +02:00
Pierre-Yves Gérardy
010d8daae9
[ospec] pinpoint the o.only() call site
2018-05-22 18:35:26 +02:00
Már Örlygsson
2794ceb76f
[ospec] Make the default reporting nicer looking ( #2147 )
...
* feat(ospec): Add spacing before report results
...sometimes tested code emits console.log() messages
which then blend in with ospec's report
* feat(ospec): Reword and prettify the report messages
* feat(ospec): Make console.errors more compact, yet more readable
* docs(ospec): Update change-log.md
* fix(ospec): Fix grammar when number of assertions is 1
* feat(ospec): Make "all passed" message bright green
* refactor(ospec): define `cStyle()` helper for browser styling
* feat(ospec): Use en-dashes for the horizontal divider
* feat(ospec): Revert stacktrace coloring, make context bright red
...and add extra newline above each error - for readability
in commandline (node.js) mode
* feat(ospec): Improve the only-test-passed message
"1 assertion passed" --> "The 1 assertion passed"
* docs: Update LOC count
2018-05-22 18:19:54 +02:00
Gandalf-the-Bot
11940b427b
Bundled output for commit 6097cfb2e9 [skip ci]
2018-05-18 18:50:40 +00:00
magikstm
6097cfb2e9
Small optimization in render hyperscript.js ( #2064 )
...
* Small optimization in render hyperscript.js
* Remove temporary variable
* Small optimization in render hyperscript.js
Squashed commits:
[5b103291] Small optimization in render hyperscript.js
* Remove sloppy mode comment
2018-05-18 20:48:56 +02:00
Pierre-Yves Gérardy
4922912bbb
[chore] remove Danger for now
2018-05-16 01:09:49 +02:00
Pierre-Yves Gérardy
58b06d4aad
[chore] bump marked version to v0.3.19
2018-05-16 01:09:49 +02:00
Barney Carroll
e1a50890e9
stream: Removed valueOf & toString methods ( fixes #2150 ) ( #2151 )
...
* stream: Removed `valueOf` & `toString` methods (fixes #2150 )
* Update stream documentation
2018-05-16 00:01:30 +02:00
Pierre-Yves Gérardy
4823369abe
[docs] typo
2018-05-10 09:28:02 +02:00
Pierre-Yves Gérardy
567fe154e7
[docs] clarify the component/RouteResolver distinction
2018-05-10 09:13:57 +02:00