@wix/design-system
Version:
@wix/design-system
14 lines (13 loc) • 361 B
JavaScript
;
var _identity = require("./identity");
describe('identity operator', () => {
it('should return given input', () => {
var aNumber = 4;
var anObject = {
a: 1
};
expect((0, _identity.identity)(aNumber)).toBe(4);
expect((0, _identity.identity)(anObject)).toBe(anObject);
});
});
//# sourceMappingURL=identity.spec.js.map