microsoft / fast

The adaptive interface system for modern web experiences.
https://www.fast.design
Other
9.28k stars 595 forks source link

chore: update test suites to leverage @web/test-runner and esm supported libraries #6847

Closed chrisdholt closed 5 months ago

chrisdholt commented 1 year ago

Pull Request

📖 Description

This PR updates testing across the repo to leverage @web/test-runner. This is a necessary step to update TypeScript.

🎫 Issues

n/a

radium-v commented 12 months ago

@playwright/test should be upgradeable to the latest version (currently ^1.39.0) if yarn-deduplicate is used on the lockfile, to merge the different versions being pulled in.

(note: in my testing, @microsoft/fast-ssr will require locking tslib@2.4.0 after using yarn-deduplicate!)

radium-v commented 12 months ago

When running all repo tests in streaming mode (yarn lerna run test --stream), there's a chance that runners will collide when trying to utilize port 8000. It's an intermittent failure which sometimes appears in parallel mode.

janechu commented 5 months ago

Closing this as it has many conflicts and has been out of date for some time, additionally this will be resolved in a future PR after we remove yarn and switch to npm.