Skip to content
This repository was archived by the owner on Sep 25, 2019. It is now read-only.
This repository was archived by the owner on Sep 25, 2019. It is now read-only.

Bug: Multiple Issues with tests for ES6: Create Strings using Template Literals #135

@johnkennedy9147

Description

@johnkennedy9147

Describe the bug
Text for first test should be amended to say array rather than list as this is both what we specify and test for.

Second test only passes if you use double quotes around class attribute

The test for use of template literals has an incorrect regex. The part of the regex testing for </li> has not been properly escaped so / is being treated as end of the regex, with l being treated as a regex flag.

There maybe additional issues with the regex, so I will try and identify all before submitting PR to fix.

To Reproduce
Steps to reproduce the behavior:

  1. Go to create-strings-using-template-literals
  2. Create correct solution
  3. Click Run the Tests
  4. Test fails
    image

Expected behavior
Test should pass

Desktop (please complete the following information):
Reported by multiple campers - not system specific

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions