Skip to content

Use property initializer syntax in Jest codebase #7846

@SimenB

Description

@SimenB

From #7844 (comment)

It'd be nice to avoid bind(this) and constructor assignments. We need to add https://babeljs.io/docs/en/babel-plugin-proposal-class-properties and go through the code to figure out where we could use it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions