19 Commits

Author SHA1 Message Date
Norbert de Langen
3fc09942eb CHANGE all decorators to use storyFn instead of fn 2019-02-20 01:45:52 +01:00
Norbert de Langen
91de976c9b RENAME story to fn inside our decorators
This makes it very clear that the argument is a storyFn, named it `fn` for brevity
This is not an api change, because people can call the argument whatever they want and it will work
2019-02-19 15:55:16 +01:00
Michael Shilman
0957242c3f Subscribe to the correct event 2019-02-18 18:43:09 +08:00
Norbert de Langen
d7bfb78ff5
FIX some typescript issues 2018-12-17 11:35:39 +01:00
Norbert de Langen
ec82d04797
REFACTOR a11y addon && FIX issues with decorators reloading 2018-12-10 19:27:12 +01:00
igor-dv
4f20ef5334 Fix test matching 2018-11-01 17:48:21 +02:00
human-readable
ccef149025
bug-fix-jest-addon-undefined-file-extension
Previously the code was such that the file name would always have an extension that read `undefined` this fixes that.
2018-10-16 12:50:26 -04:00
Norbert de Langen
7aa23d42f2
CHANGE jest addon (merge in https://github.com/storybooks/storybook-addon-jest/pull/12) 2018-08-08 13:02:30 +02:00
LiBe
e762dc4b5e
Object.values in the jest addon parameters parsing 2018-07-26 16:50:24 +02:00
LiBe
ee2cfa3eaf
Array.prototype.slice.call instead of Array.slice 2018-07-26 16:39:25 +02:00
LiBe
75c1bebe0a
addons-jest : bug with the jest parameter
The jest param is not working on my machine. Array.from({0: 'zero', 1: 'one'}) does not work on my nodejs.

Instead, Array.slice works pretty well.
2018-07-26 16:10:02 +02:00
Tom Coleman
1e3d925a86 Change skip => disabled in jest addond 2018-07-04 15:46:28 +10:00
Tom Coleman
2343a9a588
Update [].concat to Array.from 2018-05-31 16:59:08 +10:00
Tom Coleman
0eb725b41c Refactor addon-jest to use a parameter-based pattern 2018-05-29 15:53:03 +10:00
hypnos
cc8b312c84 Revert "Made jest test file extension name optional"
This reverts commit 8565613614aecf5ecbd7f9f0f35394c20ff52fa9.
2017-12-01 15:26:51 +03:00
hypnos
417afe1f86 Run eslint --fix 2017-11-25 18:55:14 +03:00
Promise Tochi
8565613614 Made jest test file extension name optional 2017-11-25 16:09:42 +01:00
Renaud Tertrais
d185d1abd7 Add addon-jest to examples/cra-kitchen-sink 2017-11-16 10:25:44 +01:00
Renaud Tertrais
f6df22223b initial commit 2017-11-11 15:48:05 +01:00