11 lines
No EOL
251 B
JavaScript
11 lines
No EOL
251 B
JavaScript
describe("isEmpty", function() {
|
|
it("returns true for an empty object", function() {
|
|
assert.isTrue(isEmpty({}));
|
|
});
|
|
|
|
it("returns false if a property exists", function() {
|
|
assert.isFalse(isEmpty({
|
|
anything: false
|
|
}));
|
|
});
|
|
}); |