-
Notifications
You must be signed in to change notification settings - Fork 458
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
CON-3007 Tests(DPxAI): Add test for Quest01 play-with-variables #2672
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test fails with the solution in 01-edu/solutions#46 wit the following output
escapeFromDelimiters is declared and includes a double-quote: FAIL
======= Error ======
-> power is not defined
======= Code =======
// Your code
let escapeFromDelimiters = "This is an example of all three quotes: \`, \", and \'"
let escapeTheEscape = "This is an example of a backslash: \\"
power = "levelMax";
// The tests
if (typeof escapeFromDelimiters === 'undefined') {
throw Error(
`You didn't even define the variable... we've been through this already !`,
)
}
if (!escapeFromDelimiters.includes('"')) {
throw Error('escapeFromDelimiters must include a double-quote"')
};
@lotoussa the current tests are failing the current solution here 01-edu/solutions#48 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CON-3007