mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 23:30:10 +00:00
Add test Common/Types/Typeof
This commit is contained in:
parent
e35d28c5a5
commit
37477d6651
19
Common/Tests/Types/Typeof.test.ts
Normal file
19
Common/Tests/Types/Typeof.test.ts
Normal file
@ -0,0 +1,19 @@
|
||||
import Typeof from '../../Types/Typeof';
|
||||
|
||||
describe('Typeof', () => {
|
||||
test('String should be string', () => {
|
||||
expect(Typeof.String).toBe('string');
|
||||
});
|
||||
|
||||
test('Boolean should be boolean', () => {
|
||||
expect(Typeof.Boolean).toBe('boolean');
|
||||
});
|
||||
|
||||
test('Number should be number', () => {
|
||||
expect(Typeof.Number).toBe('number');
|
||||
});
|
||||
|
||||
test('Object should be object', () => {
|
||||
expect(Typeof.Object).toBe('object');
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user