Skip to content
Snippets Groups Projects
Commit 2591b734 authored by Øivind Haugerøy Larsson's avatar Øivind Haugerøy Larsson
Browse files

hei

parent 7be08b8d
No related branches found
No related tags found
No related merge requests found
Pipeline #22941 passed with stages
in 1 minute and 49 seconds
......@@ -103,9 +103,9 @@ test("delete person from db", done => {
console.log(
"Test callback: status= " + status + ", data=" +JSON.stringify(data)
);
expect(personDao.getAll(callback)).toBe(1);
//expect(personDao.getAll(callback)).toBe(2);
expect(data.affectedRows).toBeGreaterThanOrEqual(1);
done();
}
personDao.deleteOne(2, callback);
personDao.deleteOne(1, callback);
})
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment