Skip to content

Detect production mode, and ensure expectAssertion/expectDeprecation works #9

@rwjblue

Description

@rwjblue

The expectAssertion that exists in embers own test suite has some special behavior for when running in production mode. It adds an assert.ok(true, 'assertions stripped in prod mode') so that when the test suite runs in prod the assert.expect counts are not thrown off.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions