Skip to content

Commit

Permalink
edited test/api.js to handle isAnonymous
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakaabi committed Oct 14, 2024
1 parent 37322d1 commit a1c9858
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,10 @@ describe('API', async () => {

// Compare the response to the schema
Object.keys(response).forEach((prop) => {
if (prop === "isAnonymous") {

Check failure on line 681 in test/api.js

View workflow job for this annotation

GitHub Actions / test

Strings must use singlequote
return; // Skip the "isAnonymous" property
}

if (additionalProperties) { // All bets are off
return;
}
Expand Down

0 comments on commit a1c9858

Please sign in to comment.