Skip to content

Commit 9e4e9a4

Browse files
fixed cy should to then
1 parent 362ee46 commit 9e4e9a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/e2e/visitorAPI.cy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ describe('visitorCount api', () => {
55
method: 'POST',
66
url: 'https://7hn5blxzxg.execute-api.us-east-1.amazonaws.com/default/IncrementVisitorCounter'
77
})
8-
.should((response) => {
8+
.then((response) => {
99
cy.log(JSON.stringify(response.body))
1010
});
1111
});

0 commit comments

Comments
 (0)