denoland / denoland/std

run test cases in browser

Open
#5,582 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.6k
Forks
681
PR merge metrics
No merged PRs in 30d

Description

1. Bundle test entry point.
1. Polyfill Deno.test for browser
1. Correct test definition using [shim-deno-test](https://github.com/denoland/node_shims/tree/main/packages/shim-deno-test)
1. Pass them to some browser compatible test runner.
1. Create test bed html file
1. Load the test bed html file in the browser probably using [puppeteer](https://www.npmjs.com/package/puppeteer) or [playwright](https://www.npmjs.com/package/playwright)
1. Check the output in the browser

related #641

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.