Cleanup
This commit is contained in:
@ -5,7 +5,7 @@ test('insertAfter is a Function', () => {
|
||||
expect(insertAfter).toBeInstanceOf(Function);
|
||||
});
|
||||
let e = document.createElement('div');
|
||||
e.setAttribute("id", "test");
|
||||
e.setAttribute('id', 'test');
|
||||
test('Does not throw error if the element exists', () => {
|
||||
expect(() => {
|
||||
insertAfter(e, '<span>test</span>');
|
||||
|
||||
Reference in New Issue
Block a user