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

kjør

parent 2591b734
No related branches found
No related tags found
No related merge requests found
Pipeline #22955 failed
...@@ -103,7 +103,7 @@ test("delete person from db", done => { ...@@ -103,7 +103,7 @@ test("delete person from db", done => {
console.log( console.log(
"Test callback: status= " + status + ", data=" +JSON.stringify(data) "Test callback: status= " + status + ", data=" +JSON.stringify(data)
); );
//expect(personDao.getAll(callback)).toBe(2); expect(data.lenght).toBeLessThanOrEqual(2);
expect(data.affectedRows).toBeGreaterThanOrEqual(1); expect(data.affectedRows).toBeGreaterThanOrEqual(1);
done(); done();
} }
......
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