Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanExtreme002 committed Dec 23, 2023
1 parent 18d75fa commit fe78e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodejs/tests/testApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe("Testing FlightRadarAPI version " + version, function() {
expect(Object.entries(results).length).to.be.above(expected - 1);

for (const key in results) {
if (Object.prototype.hasOwnProperty.call(countDict, name)) { // guard-for-in
if (Object.prototype.hasOwnProperty.call(results, key)) { // guard-for-in
const zone = results[key];
expect(zone).to.include.all.keys(targetKeys);
}
Expand Down

0 comments on commit fe78e9d

Please sign in to comment.