Skip to content

Lint error for createTestClient #4724

@extjbhlego

Description

@extjbhlego

Hello 👋

Using the createTestClient method upsets our linting rule eslint@typescript-eslint/unbound-method, documented here

Looking at the implementation, I suspect it has to do with
const executeOperation = server.executeOperation.bind(server); on line 31

"apollo-server-testing": "2.19.0"

  • The expected behavior
    No warnings

  • The actual behavior
    Warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions