Skip to content

Commit

Permalink
refine tickets test
Browse files Browse the repository at this point in the history
Co-authored-by: Jannis R <[email protected]>
  • Loading branch information
PaulSut and derhuerst authored Feb 11, 2024
1 parent 88fb3dd commit 0062ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const assertValidPrice = (t, p) => {
}

const assertValidTickets = (test, tickets) => {
test.ok(tickets);
test.ok(Array.isArray(tickets));
for (let fare of tickets) {
if (fare.name !== undefined) {
test.equal(typeof fare.name, 'string');
Expand Down

0 comments on commit 0062ce1

Please sign in to comment.