The test suite uses our Promise polyfill #2814
Labels
Area: Workflow
For anything dealing with Mithril's internal tooling, including the mocks and bundler, but not ospec
Type: Bug
For bugs and any other unexpected breakage
The logic in
./promise/promise.js
picks up the globalwindow
defined by the./tests/test-api.js
, doesn't find a Promise implementation, and goes on to use our polyfill instead of native promises.Adding native promises to
./test-utils/broswerMock.js
would solve this regardless of any future change in test loading order.The text was updated successfully, but these errors were encountered: