-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
We understand you have a problem and are in a hurry, but please provide us with some info to make it much more likely for your issue to be understood, worked on and resolved quickly.
- FakeTimers version : 11.2.2
- Environment : macOS 14.2.1, Firefox 121.0.1
- Example URL : https://output.jsbin.com/xijaquyico
- Other libraries you are using: none
What did you expect to happen?
FakeTimers module is loaded.
What actually happens
An error is logged and the module does not load:
Uncaught Error: [Package Error] "timers" does not exist. (Imported by "@sinonjs/fake-timers").
<anonymous> https://cdn.skypack.dev/error/node:timers?from=@sinonjs/fake-timers:14
How to reproduce
Go to https://output.jsbin.com/xijaquyico and open the JavaScript console to see the error. The module is loaded like this:
<script type="module">
import FakeTimers from "https://cdn.skypack.dev/@sinonjs/[email protected]";
</script>