Skip to content

SyntaxError: Unexpected token . -> assert(opts?.sinonXhrLib, "No XHR lib passed in"); #366

@chuphalashit19

Description

@chuphalashit19

Describe the bug
SyntaxError: Unexpected token .
assert(opts?.sinonXhrLib, "No XHR lib passed in");

Line :- aws-sdk-mock/node_modules/sinon/lib/create-sinon-api.js:19

Link to the issue - > sinonjs/sinon#2583

Please update your sinon version once this issue is resolved from sinon github

Screenshots
image

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