nodejs / webcrypto

This repository has been archived. The WebCrypto API has been implemented in recent versions of Node.js and does not require additional packages.
69 stars 20 forks source link

Add web-platform-tests #23

Closed tniessen closed 4 years ago

tniessen commented 4 years ago

This patch allows to run web-platform-tests using npm run wpt. I wrote the test runner from scratch, it only covers basic functionality and won't work for other WPT suites, but it seems to reliably run the WebCryptoAPI tests. As expected, there are lots of failures :)

Fixes: #11