|
|
@@ -1,4 +1,4 @@
|
|
1
|
|
-import { LayoutType, isLayoutType } from './LayoutType';
|
|
|
1
|
+import { LayoutType } from './LayoutType';
|
|
2
|
2
|
|
|
3
|
3
|
describe('LayoutType', () => {
|
|
4
|
4
|
it('is an enum', () => {
|
|
|
@@ -9,11 +9,4 @@ describe('LayoutType', () => {
|
|
9
|
9
|
expect(LayoutType[name]).toEqual(LayoutType.Stack);
|
|
10
|
10
|
expect(LayoutType['asdasd']).toEqual(undefined); //tslint:disable-line
|
|
11
|
11
|
});
|
|
12
|
|
-
|
|
13
|
|
- it('isLayoutType', () => {
|
|
14
|
|
- expect(isLayoutType('')).toBe(false);
|
|
15
|
|
- expect(isLayoutType('asdasd')).toBe(false);
|
|
16
|
|
- expect(isLayoutType('TopTabs')).toBe(true);
|
|
17
|
|
- expect(isLayoutType('isLayoutType')).toBe(false);
|
|
18
|
|
- });
|
|
19
|
12
|
});
|