multimediaobject
Version:
Multimediaobject library
23 lines (19 loc) • 413 B
JavaScript
describe('clone', () => {
const tplObj = {
name: 'test',
hello: 'yo',
tweet: 'tos',
};
const testObj = {
test: 'Hey',
};
const testObj2 = {
name: 'Test2',
};
it(`should return ${JSON.stringify(tplObj)}`, () => {
expect(clone(testObj)).toEqual(testObj);
});
it(`should return ${JSON.stringify(tplObj)}`, () => {
expect(clone(testObj2)).toEqual(testObj2);
});
});