Commit graph

42 commits

Author SHA1 Message Date
Pierre-Yves Gérardy
894152440b Add tests for #1870 2017-06-12 18:26:45 +02:00
Pierre-Yves Gerardy
195263d226 [test-utils/domMock] restore Attr.nodeValue for backwards compatibility 2017-05-29 13:59:31 +02:00
Pierre-Yves Gerardy
58bc414635 tests for validating #1595 and #1804 2017-05-28 21:03:27 +02:00
Pierre-Yves Gerardy
e031fe49a1 [test-utils/domMock] improve attributes handling 2017-05-28 18:26:09 +02:00
Pat Cavit
9a55a290cc feat: perf testing (#1789) 2017-04-13 09:48:30 -07:00
Pierre-Yves Gerardy
d0ee256390 [mocks] make location.onhashchange debounced async 2017-04-01 16:48:22 +02:00
Gyandeep Singh
daf5a64697 Chore: Fix lint issues and add indent with tabs 2017-03-11 15:54:41 -06:00
Isiah Meadows
1cc5fa5ba7 "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
Isiah Meadows
aefee3b88e Merge branch 'test-all-component-kinds' of https://github.com/pygy/mithril.js into next 2017-02-25 23:00:20 -05:00
Pierre-Yves Gerardy
eccea68212 Add test-utils/components.js and its tests 2017-02-19 02:14:15 +01:00
Bryce Gibson
6a617aeb87 Add tests for abort functionality. 2017-02-12 16:38:45 +11:00
Leo Horie
a0def08101 lint and highlight jsx 2017-01-08 19:30:23 -05:00
Leo Horie
9ad16858a5 #1520 ospec: report duplicate test names 2017-01-08 13:05:27 -05:00
impinball
95d738bc71 Add support for options.headers in m.request + tests/docs
I also had to edit the mocks accordingly, so I could inspect the headers set.
2016-12-30 02:52:00 -05:00
Leo Horie
de07a54881 add support for route state #1480 2016-12-17 21:50:04 -05:00
Pierre-Yves Gerardy
bd79297905 The browserMock $window must be reachable from the pushStateMock 2016-12-07 17:07:37 +01:00
Pierre-Yves Gerardy
7cab626980 Add a short browserMock test suite 2016-12-07 17:07:37 +01:00
Leo Horie
ff7ce37476 allow dom level 1 events to be removed #1385 2016-11-04 12:33:36 -04:00
Leo Horie
40251c6c16 #1342 update m.route.link target if href changes 2016-10-04 12:19:55 -04:00
Leo Horie
d0a4993681 clean up 2016-10-03 10:56:44 -04:00
Leo Horie
b8ef290acd improved bundler, handle width/height atts 2016-09-23 10:31:33 -04:00
Leo Horie
ec07d76fcd m.fragment docs
public api tests
2016-08-24 00:26:15 -04:00
Leo Horie
6c3036e5c6 fix event removal in diff
fix CI
2016-08-12 22:08:02 -04:00
Pierre-Yves Gerardy
55a5d0a69f Remove an unused variable 2016-08-11 21:21:17 +02:00
Pierre-Yves Gerardy
bffe87e053 Fix the domMock cssText implementation 2016-08-11 17:53:01 +02:00
Pierre-Yves Gerardy
5fd2e99831 Fix the domMock and domMock tests for cssText support 2016-08-05 12:43:31 +02:00
impinball
2c3a0ebb3a Merge branch 'rewrite' of https://github.com/lhorie/mithril.js into call-async 2016-08-03 20:32:38 -04:00
impinball
c9f1778dc9 Make callAsync a little less flaky 2016-08-03 07:21:15 -04:00
Leo Horie
8ec3a3f2c5 test router using file protocol as start point 2016-08-02 23:21:13 -04:00
Leo Horie
e8e0bae726 make setPath always async 2016-07-01 13:03:07 -04:00
impinball
b4fb21475c Add editorconfig, resolve differences
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Leo Horie
693c87f5f1 fix svg class updates 2016-06-07 20:20:30 -04:00
Leo Horie
f9ef480b34 fix bugs about recycling in components, and styles when reusing style object 2016-06-02 21:42:18 -04:00
Leo Horie
41ac2bf002 rename ajaxt o xhr, expose jsonp 2016-05-26 15:22:36 -04:00
Leo Horie
e7420e72e1 more tests 2016-05-24 23:16:43 -04:00
Leo Horie
977239d207 rename limiter to throttle and refactor
- don't inject raf/setTimeout since we can't really mock them w/ a good degree of timing accuracy anyways

fix some unrelated tests
2016-05-19 23:24:04 -04:00
Pat Cavit
41b24b998a m.route tests should run against all prefixes
Also tests `router.link` now. Had to add a `preventDefault` function to
domMock events that doesn't do anything, that may need a more-complete
implementation someday?
2016-05-19 10:59:41 -07:00
Pat Cavit
960812308c Move public APIs into their own folder
And start writing actual tests for them
2016-05-19 10:59:41 -07:00
Leo Horie
f4c1d4a998 cleanup and styling 2016-05-11 11:52:41 -04:00
Leo Horie
d5371533a7 fix attribute syncing for input, select, textarea
optimize events
2016-05-10 01:55:48 -04:00
Leo Horie
b17bd250b7 support all events 2016-05-06 10:11:31 -04:00
Leo Horie
559369016d initial commit (work in progress) 2016-04-20 20:02:37 -04:00