Skip to content

Commit 569910d

Browse files
committed
config circleci to validate mocks
1 parent 142e661 commit 569910d

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.circleci/config.yml

+17-3
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,20 @@ jobs:
117117
path: build
118118
destination: /
119119

120+
mock-validation:
121+
docker:
122+
- image: circleci/node:12.22.1
123+
working_directory: ~/plotly.js
124+
steps:
125+
- attach_workspace:
126+
at: ~/
127+
- run:
128+
name: Test validation using node.js and jsdom
129+
command: npm run test-plain-obj
130+
- run:
131+
name: Validate mocks
132+
command: npm run test-mock
133+
120134
source-syntax:
121135
docker:
122136
- image: circleci/node:12.22.1
@@ -182,9 +196,6 @@ jobs:
182196
steps:
183197
- attach_workspace:
184198
at: ~/
185-
- run:
186-
name: Test validation using node.js and jsdom
187-
command: npm run test-plain-obj
188199
- run:
189200
name: Test plotly.min.js import using requirejs
190201
command: npm run test-requirejs
@@ -232,6 +243,9 @@ workflows:
232243
- flaky-image:
233244
requires:
234245
- install-and-cibuild
246+
- mock-validation:
247+
requires:
248+
- install-and-cibuild
235249
- source-syntax:
236250
requires:
237251
- install-and-cibuild

0 commit comments

Comments
 (0)