Skip to content

Commit bb5d3d0

Browse files
committed
pseudocode for dropdown unit testing
1 parent 351fe4d commit bb5d3d0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from 'react';
2+
import { configure, shallow } from 'enzyme';
3+
import SwitchState from '../components/SwitchState';
4+
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

Comments
 (0)