Test cleanup and fixes [g-h]
This commit is contained in:
@ -1,11 +1,9 @@
|
||||
const expect = require('expect');
|
||||
const getType = require('./getType.js');
|
||||
|
||||
|
||||
test('getType is a Function', () => {
|
||||
test('getType is a Function', () => {
|
||||
expect(getType).toBeInstanceOf(Function);
|
||||
});
|
||||
test('Returns the native type of a value', () => {
|
||||
expect(getType(new Set([1, 2, 3]))).toBe('set')
|
||||
test('Returns the native type of a value', () => {
|
||||
expect(getType(new Set([1, 2, 3]))).toBe('set');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user