Skip to content

Commit

Permalink
Update test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorHowser authored Oct 19, 2023
1 parent 90c9c71 commit 09f8e5d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,17 +105,17 @@ describe('Automated tests', function () {
expect(basket.length, "empty() needs to empty the basket").to.equal(0);
})
})
describe(`Functions are tested using console.log()`, function () {
it(`Functions are tested using console.log()`, function () {
if (typeof counter === 'undefined') {
// Skip this test if running on the server
this.skip();
} else {
// Only run this test in the browser
expect(counter, `console.log() was only called ${counter} times.`).to.be.greaterThan(3);
}
});
});
// describe(`Functions are tested using console.log()`, function () {
// it(`Functions are tested using console.log()`, function () {
// if (typeof counter === 'undefined') {
// // Skip this test if running on the server
// this.skip();
// } else {
// // Only run this test in the browser
// expect(counter, `console.log() was only called ${counter} times.`).to.be.greaterThan(3);
// }
// });
// });
describe('STRETCH: Added a global const named `maxItems` and set it to 5', function () {
it('STRETCH: Added a global const named `maxItems` and set it to 5', function () {
let { maxItems } = testItems;
Expand Down

0 comments on commit 09f8e5d

Please sign in to comment.