Skip to content

Unable to extend verbified methods #339

@amk221

Description

@amk221

In 3.4.3 it was possible to do:

export default class extends Pretender {
  get(path, handler) {
    // console.log('do something');
    return super.get(...arguments);
  }
}

But as of 3.4.4, specifically this commit. It's not possible any more.

This isn't necssarily an issue, because it can be worked around.

But I just thought I'd raise here for some feedback?

Metadata

Metadata

Assignees

No one assigned

    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