Skip to content
This repository was archived by the owner on Apr 10, 2024. It is now read-only.

Commit 681c98f

Browse files
committed
add unit test
1 parent 63e5584 commit 681c98f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Tests/Utils/record.test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,11 @@ describe('getFieldValues', () => {
3232
expect(myValues).toEqual(['123', '123']);
3333
});
3434
});
35+
36+
describe('getRecordType', () => {
37+
it('should return record type', () => {
38+
const result = new FileUnderTest();
39+
const recordType = result.getRecordType();
40+
expect(recordType).toEqual('nlobjRecord');
41+
});
42+
});

0 commit comments

Comments
 (0)