281b304edb
This change moves our e2e tests into a separate package to make room for proper unit and integration tests. This is Phase 1 described in #371. Changes: Makefile has separate directives to run unit/integration tests and e2e tests, CI runs unit/integration tests first and then e2e tests, E2e tests are in reliability order, i.e. the least reliable tests are run in the end to be sure that nothing else is broken, Some tests are fixed or quarantined. |
||
---|---|---|
.. | ||
fetch | ||
loop | ||
process | ||
promise | ||
timers | ||
vm | ||
LICENSE.md | ||
README.md | ||
main.go |
README.md
ottoext
Originally based on github.com/deoxxa/ottoext
Overview
This package contains some extensions for the otto JavaScript interpreter. The
most important extension is a generic event loop based on code from natto. The
other extensions are setTimeout
and setInterval
support, Promise
support
(via native-promise-only
, MIT license), and fetch
support.
Examples
Take a look at the test files to see how the extensions work.
License
3-clause BSD. A copy is included with the source.