Skip to content
Snippets Groups Projects
Commit 611ff2fe authored by jorgstei's avatar jorgstei
Browse files

fixed data[0] to data

parent 5d22c5c3
No related branches found
No related tags found
No related merge requests found
Pipeline #49731 failed
...@@ -84,8 +84,8 @@ test("update person from db", done => { ...@@ -84,8 +84,8 @@ test("update 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(data[0].navn).toBe("Jorgen Steig"); expect(data.navn).toBe("Jorgen Steig");
expect(data[0].alder).toBe(20); expect(data.alder).toBe(20);
expect(data.changedRows).toBe(1); expect(data.changedRows).toBe(1);
done(); done();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment