mirror of
https://gitee.com/antv/g6.git
synced 2024-12-02 19:58:46 +08:00
11 lines
295 B
TypeScript
11 lines
295 B
TypeScript
describe('template', () => {
|
|
const el = document.createElement('div');
|
|
el.id = 'test-div-id';
|
|
el.innerHTML = 'hello g6';
|
|
document.querySelector('body').appendChild(el);
|
|
|
|
it('div content', () => {
|
|
expect(document.querySelector('#test-div-id').innerHTML).toBe('hello g6');
|
|
});
|
|
});
|