mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 21:28:33 +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');
|
|
});
|
|
});
|