Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix minor typo in test files #16

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe('Automated tests', function () {
it('STRETCH: Added a global const named `maxItems` and set it to 5', function () {
let { maxItems } = testItems;
if (maxItems === undefined) {
// Skip the stetch goal if not attempted
// Skip the stretch goal if not attempted
this.skip();
} else {
// Only add the stretch goal if attempted
Expand All @@ -142,7 +142,7 @@ describe('Automated tests', function () {
it('STRETCH: `isFull` function correctly returns boolean `false`', function () {
let { isFull, basket } = testItems;
if (isFull === undefined) {
// Skip the stetch goal if not attempted
// Skip the stretch goal if not attempted
this.skip();
} else {
basket.length = 0;
Expand All @@ -157,7 +157,7 @@ describe('Automated tests', function () {
it('STRETCH: `isFull` function correctly returns boolean `true`', function () {
let { isFull, basket } = testItems;
if (isFull === undefined) {
// Skip the stetch goal if not attempted
// Skip the stretch goal if not attempted
this.skip();
} else {
basket.length = 0;
Expand All @@ -173,7 +173,7 @@ describe('Automated tests', function () {
it('STRETCH: `addItem` function updated to use `isFull` and return `false` when full', function () {
let { maxItems, isFull, basket, addItem } = testItems;
if (maxItems === undefined) {
// Skip the stetch goal if not attempted
// Skip the stretch goal if not attempted
this.skip();
} else {
// clear basket
Expand All @@ -190,7 +190,7 @@ describe('Automated tests', function () {
it('STRETCH: `removeItem` function removes & returns the first matching item from `basket`', function () {
let { removeItem, isFull, basket, addItem } = testItems;
if (removeItem === undefined) {
// Skip the stetch goal if not attempted
// Skip the stretch goal if not attempted
this.skip();
} else {
// clear basket
Expand All @@ -208,7 +208,7 @@ describe('Automated tests', function () {
it('STRETCH: `removeItem` function returns null when item is not found', function () {
let { removeItem, isFull, basket, addItem } = testItems;
if (removeItem === undefined) {
// Skip the stetch goal if not attempted
// Skip the stretch goal if not attempted
this.skip();
} else {
// clear basket
Expand Down
Loading