mirror of https://github.com/artf/grapesjs.git
2 changed files with 16 additions and 67 deletions
@ -1,34 +0,0 @@ |
|||||
import Command from 'commands/model/Command'; |
|
||||
import Commands from 'commands'; |
|
||||
|
|
||||
describe('Command', () => { |
|
||||
let obj; |
|
||||
|
|
||||
beforeEach(() => { |
|
||||
obj = new Command(); |
|
||||
}); |
|
||||
|
|
||||
afterEach(() => { |
|
||||
obj = null; |
|
||||
}); |
|
||||
|
|
||||
test('Has id property', () => { |
|
||||
expect(obj.has('id')).toEqual(true); |
|
||||
}); |
|
||||
}); |
|
||||
|
|
||||
describe('Commands', () => { |
|
||||
var obj; |
|
||||
|
|
||||
beforeEach(() => { |
|
||||
obj = new Commands(); |
|
||||
}); |
|
||||
|
|
||||
afterEach(() => { |
|
||||
obj = null; |
|
||||
}); |
|
||||
|
|
||||
test('Object is ok', () => { |
|
||||
expect(obj).toBeTruthy(); |
|
||||
}); |
|
||||
}); |
|
||||
Loading…
Reference in new issue