Skip to content

Commit

Permalink
Add test for edit function
Browse files Browse the repository at this point in the history
  • Loading branch information
gdumani committed Jan 20, 2022
1 parent 797d444 commit 84e1144
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 22 deletions.
20 changes: 0 additions & 20 deletions src/tests/__tests__/[..].test.js

This file was deleted.

3 changes: 1 addition & 2 deletions src/tests/__tests__/addDelete.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** * @jest-environment jsdom */
import {
addtask, removeTask
addtask, removeTask,
} from '../addDelete';

describe('Add and delete tests', () => {
Expand All @@ -21,5 +21,4 @@ describe('Add and delete tests', () => {
const list = document.querySelectorAll('.listItem');
expect(list).toHaveLength(0);
});

});

0 comments on commit 84e1144

Please sign in to comment.