You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/app.e2e-spec.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ describe('App e2e', () => {
206
206
Authorization: 'Bearer $S{userAt}',
207
207
})
208
208
.expectStatus(200)
209
-
.expectBodyContains('$S{bookmarkId}');
209
+
.expectBodyContains('$S{bookmarkId}');//.expectJsonMatch({id: '$S{bookmarkId}'}) would have been the correct way of testing to prevent false positive matches with other numbers, user id etc.
0 commit comments