Skip to content
Snippets Groups Projects
Commit 81d4d798 authored by Name's avatar Name
Browse files

test modified delete

parent 31b4bfc0
No related branches found
No related tags found
No related merge requests found
Pipeline #49729 failed
...@@ -100,7 +100,7 @@ test("set values of person in db", done => { ...@@ -100,7 +100,7 @@ test("set values of person in db", done => {
test("delete person from db", done => { test("delete person from db", done => {
function callback(status, data){ function callback(status, data){
console.log( console.log(
"Test callback: status=" + status + ", changed rows=" + JSON.stringify(data.affectedRows) "Test callback: status=" + status + ", changed rows=" + JSON.stringify(data)
); );
expect(data.affectedRows).toBe(1); expect(data.affectedRows).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