sinonjs / sinon

Test spies, stubs and mocks for JavaScript.

Home Page:https://sinonjs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

chuphalashit19 opened this issue · comments

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

To Reproduce
Steps to reproduce the behavior:

  1. Go to file sinon/lib/create-sinon-api.js:19

Screenshots
image

By when can we expect this problem to be resolved as it is failing our builds

Please fill in the entire bug template. It's there for a reason.You are missing a lot of very essential information, such as what runtime this happens in (Node, browser, Deno, ... WHAT?). I'll close this and you can reopen it when done.