Skip to content

Train Driver: Force rest parameter on first test#2673

Merged
Cool-Katt merged 1 commit into
mainfrom
chore/train-driver-force-rest
Jun 13, 2025
Merged

Train Driver: Force rest parameter on first test#2673
Cool-Katt merged 1 commit into
mainfrom
chore/train-driver-force-rest

Conversation

@SleeplessByte

@SleeplessByte SleeplessByte commented Jun 13, 2025

Copy link
Copy Markdown
Member

toStrictEqual prevents CLI submissions of

export function getListOfWagons(a, b, c, d, e, f, g, h, i, j, k, l, m, n) {
  return [a, b, c, d, e, f, g, h, i, j, k, l, m, n]
}

This is important because we want the teaching goal of ...ids as function parameter.

@SleeplessByte SleeplessByte requested a review from Cool-Katt June 13, 2025 00:57
@SleeplessByte SleeplessByte added x:action/improve Improve existing functionality/content x:module/concept-exercise Work on Concept Exercises x:type/content Work on content (e.g. exercises, concepts) labels Jun 13, 2025
@github-actions

This comment was marked as off-topic.

@SleeplessByte SleeplessByte changed the title Force rest parameter on first test Train Driver: Force rest parameter on first test Jun 13, 2025
@Cool-Katt Cool-Katt merged commit 8b24965 into main Jun 13, 2025
10 checks passed
@Cool-Katt Cool-Katt deleted the chore/train-driver-force-rest branch June 13, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:action/improve Improve existing functionality/content x:module/concept-exercise Work on Concept Exercises x:type/content Work on content (e.g. exercises, concepts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants