110 Commits

Author SHA1 Message Date
Ian VanSchooten
dcfdeb85cf Split some snapshots by windows/posix 2021-12-11 21:10:41 -08:00
Tom Coleman
e4213751dd Add a storyshots test for react-ts 2021-11-03 16:57:05 +11:00
Michael Shilman
65e7803c3d Fix jest with lit-html ESM 2021-07-06 18:09:59 +08:00
Michael Shilman
d857bdb991 Merge branch 'next' into 14796-remove-rax 2021-05-06 20:34:02 +08:00
Michael Shilman
d5a3ad6d6c Refactor Riot to its own repo 2021-05-04 23:45:41 +08:00
Michael Shilman
7cac134d7b Refactor Rax to its own repo 2021-05-04 23:39:07 +08:00
Blaine Bublitz
eec939d9d7 feat: add storyshots to Vue 3 example but disable in suite 2021-02-05 14:50:51 -07:00
Gaëtan Maisse
3d7a024b3c
test: execute CLI tests like all other Jest tests
As CLI tests based on fixtures have been deleted, and the remaining tests are now using Jest we can run them as part of the classic `yarn test --core` command.

I also removed the dedicated GitHub Actions.
2020-12-08 19:26:02 +01:00
ThibaudAv
09857a085a test: add test for RenderNgAppService
Configure app/angular package as jest projects
Allow to use jest-preset-angular for app/angular tests
2020-12-02 23:57:20 +01:00
Clément DUNGLER
fdeb1a3eee refactor: Move to RTL for css resource addon 2020-11-02 23:29:12 +01:00
Gert Hengeveld
62f8691984 Also ignore prebuilt as potential test path. 2020-10-30 15:54:56 +01:00
Michael Shilman
1b48c989ed Don't collect coverage on prebuilt bundles 2020-10-30 22:50:20 +08:00
Robert Lange
7b834b97e9 feat: add apng support 2020-10-01 08:37:48 +02:00
Max Belsky
b55d7c386b Exclude stories from collecting coverage 2020-06-14 20:43:03 +03:00
tooppaaa
072b774693 core: ci and examples generation 2020-05-09 11:34:50 +02:00
Norbert de Langen
21711ade48
Merge branch 'next' into migrate-from-simplebar-to-overlaybars-2
# Conflicts:
#	lib/components/package.json
#	package.json
#	yarn.lock
2020-03-10 18:11:23 +01:00
Norbert de Langen
5929556282
ADD jest-serializer-html 2020-01-11 10:37:12 +01:00
Norbert de Langen
f549e14e14
FIX css & jsExtra by registering with refractor directly 2020-01-08 14:46:52 +01:00
Michael Shilman
4797a1793a
Merge branch 'next' into jest-transform 2019-10-09 10:23:53 +08:00
Hypnosphi
606d1cee6d Support custom babel-jest transforms 2019-10-08 02:39:42 +02:00
Norbert de Langen
5df14a8fc2 ADD moduleNameMapper entry for react-syntax-highlighter 2019-10-07 12:18:37 +02:00
Hypnosphi
30537bbda5 Add an example with legacy storiesOf api 2019-09-05 09:00:32 +02:00
Hypnosphi
38d7464d2b First-class support of CSF in Storyshots 2019-09-05 07:11:39 +02:00
Norbert de Langen
502ff522f4 ADD /__testfixtures__/ to ignore list for coverage 2019-07-09 01:09:47 +02:00
Michael Shilman
c6c17559b2 Merge branch 'next' into 7101-vue-docs-mode 2019-07-01 18:52:49 +08:00
Michael Shilman
4275a520a4 Clean up previewURL data flow 2019-07-01 16:18:20 +08:00
Michael Shilman
6146b9afb0 Addon-docs: Add mdx to the Jest mocked files list 2019-06-29 08:33:31 +08:00
Michael Shilman
2188a8b337 CLI docs mode with --docs flag 2019-06-20 11:59:37 +08:00
Norbert de Langen
59b7e06c71 Merge branch 'next' into pr/trongthanh/5791
# Conflicts:
#	lib/cli/package.json
#	package.json
#	scripts/build-storybooks.sh
#	yarn.lock
2019-05-18 02:14:23 +02:00
Norbert de Langen
4064f4ee32 Merge branch 'next' into pr/Spy-Seth/6655
# Conflicts:
#	lib/router/package.json
#	yarn.lock
2019-05-07 17:06:54 +02:00
Norbert de Langen
1c39e390f4 FIX core-js upgrade in tests 2019-05-06 13:55:27 +02:00
Norbert de Langen
3ee51c5661 FIX tests 2019-04-26 23:36:37 +02:00
Norbert de Langen
df9ca73bda Merge branch 'next' into tech/example-for-cra15-support
# Conflicts:
#	yarn.lock
2019-04-26 23:15:20 +02:00
Norbert de Langen
1eb78284de Merge branch 'next' into pr/trongthanh/5791
# Conflicts:
#	addons/jest/src/styles.js
#	lib/cli/package.json
#	package.json
#	yarn.lock
2019-04-26 14:17:30 +02:00
Norbert de Langen
4280795429 FIX angular test & storybook build 2019-04-25 22:54:53 +02:00
Michael Shilman
bc62ea3ea2 Add CRA React15 example to test back-compat 2019-04-10 11:45:16 +08:00
Norbert de Langen
c90c2d4671 UPGRADE as much of jest packages as possible 2019-04-04 21:32:57 +02:00
Norbert de Langen
c1262f41c5 Merge branch 'next' into dependabot/npm_and_yarn/jest-cli-24.0.0
# Conflicts:
#	jest.config.js
#	package.json
#	yarn.lock
2019-04-04 16:00:58 +02:00
Thanh Tran
fa823dcbf2 Merge branch 'next' into rax-storybook 2019-03-29 16:30:22 +07:00
Norbert de Langen
62299a6c7b trying to speed up yarn tests 2019-03-18 22:28:39 +01:00
Norbert de Langen
9510552a16 ADD always mock for util-deprecate && REMOVE loglines in tests for debug && CLEANUP tests log 2019-03-18 21:28:00 +01:00
Hoa Nguyen Thai
70322f1000 adapt root files for rax example 2019-03-05 12:08:27 +07:00
Norbert de Langen
1efff53d78 CHANGE setupTestFrameworkScriptFile to setupFilesAfterEnv 2019-01-28 12:20:50 +01:00
Norbert de Langen
11657c189c RE-ADD & FIX emotion snapshotSerializer 2019-01-19 22:41:51 +01:00
Michael Shilman
b252b50924 Merge changes from next into 5.0 2019-01-09 22:27:31 +08:00
Norbert de Langen
053473882e
REMOVE emotion from snapshots, as they become too big, and they provide little value
provided we're also using Chromatic
2018-12-22 00:15:03 +01:00
Norbert de Langen
7e6f5f7db8
Merge branch 'next' into tech/overhaul-ui
# Conflicts:
#	.eslintrc.js
#	addons/info/src/__snapshots__/index.test.js.snap
#	addons/viewport/src/manager/components/tests/viewportInfo.test.js
#	examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot
#	examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot
#	lib/core/package.json
#	package.json
#	yarn.lock
2018-12-20 13:56:11 +01:00
Norbert de Langen
0293514326
MIGRATE storyshots to use new API with build-in context && update snapshots 2018-12-19 00:03:19 +01:00
Norbert de Langen
fad28494e1
FIX missing tests, maybe 2018-12-17 18:38:48 +01:00
Norbert de Langen
58154867ee
FIX CI by removing .spec. from jest testPattern 2018-12-17 16:47:47 +01:00