Skip to content
Snippets Groups Projects
Commit 5490c92f authored by Ådne Eide Stavseng's avatar Ådne Eide Stavseng
Browse files

Broke one test

parent e3f8cb60
No related branches found
No related tags found
No related merge requests found
Pipeline #22688 passed
......@@ -96,7 +96,7 @@ test("update one person in db", done => {
test("delete person from db", done => {
personDao.getAll((status, data) => {
personDao.deleteOne(16, (status, data2) => {
personDao.deleteOne(30, (status, data2) => {
expect(data2.affectedRows).toBe(1);
personDao.getAll((status, data3) => {
expect(data3.length + 1 === data.length).toBe(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment