Skip to content

Commit 3f2ccea

Browse files
ThomasThomas
authored andcommitted
Add deprecated index tests
1 parent 353fd63 commit 3f2ccea

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nhsuk-react-components",
3-
"version": "1.2.8-dev1",
3+
"version": "1.2.8",
44
"author": {
55
"email": "[email protected]",
66
"name": "Thomas Judd-Cooper",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import * as deprecatedIndex from '../index';
2+
3+
describe('DeprecatedIndex', () => {
4+
it('contains all expected elements', () => {
5+
expect(Object.keys(deprecatedIndex)).toEqual(['Panel', 'Promo']);
6+
});
7+
});

0 commit comments

Comments
 (0)