We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6307d6a + 4f7dfed commit 432b8a0Copy full SHA for 432b8a0
Dockerfile
@@ -1,4 +1,4 @@
1
FROM node:10.16.2
2
-WORKDIR /usr/src/app
+WORKDIR /usr/src/app
3
COPY package*.json ./
4
RUN npm i
src/app/__tests__/switchState.test.jsx
@@ -0,0 +1,10 @@
+import React from 'react';
+import { configure, shallow } from 'enzyme';
+import SwitchState from '../components/SwitchState';
+
5
+// Should describe unit testing for SwitchState
6
+ // Should create a shallow copy of SwitchState
7
+ // The component should have an array of objects that have value
8
+ // and the label should be the name of the state being captured
9
10
+ // If the label is selected, it should only display relevant components with the same state name
0 commit comments