Skip to content

Can't run Scenario.only: ReferenceError: escapeRe is not defined #14

Closed

Description

@roadhump

Seems like something is missing when use Scenario.only

Scenario.only('something', () => {});

ReferenceError: escapeRe is not defined
    at Function.context.Scenario.only (
/tm-library/node_modules/codeceptjs/lib/interfaces/codeceptjs.js:90:28)
    at Object.<anonymous> (tm-library/mashups/RecentActivity/test/functional/mashup.js:3:10)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at //tm-library/node_modules/mocha/lib/mocha.js:216:27
    at Array.forEach (native)

https://github.com/Codeception/CodeceptJS/blob/master/lib/interfaces/codeceptjs.js#L90

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions