Skip to content

TypeError: helper.compute is not a function #17

@Turbo87

Description

@Turbo87
    let helper = this.owner.lookup('helper:format-duration');
    // before: let helper = this.subject();

    let result = helper.compute([convertToMS(59, 'minutes')]);

    assert.equal(result, '59 min');

fails with:

TypeError: helper.compute is not a function

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