10 lines
207 B
TypeScript
10 lines
207 B
TypeScript
import { isEmpty } from './isEmpty';
|
|
|
|
test('Object is empty', function () {
|
|
expect(isEmpty({})).toBe(true);
|
|
});
|
|
|
|
test('Object is not empty', function () {
|
|
expect(isEmpty({ bob: true })).toBe(false);
|
|
});
|