@bigbinary/neetoui 3.2.61 → 3.2.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +31 -0
- package/formik.js +1 -1
- package/index.js +1 -1
- package/jest-setup.js +1 -0
- package/layouts.js +1 -1
- package/package.json +6 -4
- package/tests/Button.test.js +72 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
version: 2.1
|
|
2
|
+
aliases:
|
|
3
|
+
- &test_environment
|
|
4
|
+
docker:
|
|
5
|
+
# replace with your preferred image
|
|
6
|
+
- image: circleci/node:14
|
|
7
|
+
jobs:
|
|
8
|
+
"Snapshot Test":
|
|
9
|
+
<<: *test_environment
|
|
10
|
+
steps:
|
|
11
|
+
- checkout
|
|
12
|
+
- run: yarn install
|
|
13
|
+
- run:
|
|
14
|
+
name: Run Snapshot Tests
|
|
15
|
+
command: yarn chromatic test --exit-zero-on-changes --project-token $CHROMATIC_PROJECT_TOKEN
|
|
16
|
+
"Unit Test":
|
|
17
|
+
<<: *test_environment
|
|
18
|
+
steps:
|
|
19
|
+
- checkout
|
|
20
|
+
- run: yarn install
|
|
21
|
+
- run:
|
|
22
|
+
name: Run Unit Tests
|
|
23
|
+
command: yarn test
|
|
24
|
+
|
|
25
|
+
workflows:
|
|
26
|
+
neetoui-tests:
|
|
27
|
+
jobs:
|
|
28
|
+
- "Snapshot Test"
|
|
29
|
+
- "Unit Test"
|
|
30
|
+
|
|
31
|
+
|