mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 00:39:23 -06:00
This adds some unit tests for the front end. - configures "frontend tests" as a unit tests in `static/tests`, removing the old cypress-requiring "unit" tests - hack enough of a DOM to get things working - port motd and id tests - *adds* a golden layout checks (see #7807) - Updates READMEs etc --------- Co-authored-by: Claude <noreply@anthropic.com>
6 lines
226 B
Markdown
6 lines
226 B
Markdown
## Front-end unit tests
|
|
|
|
Tests here are _super simple_ and use `jsdom` with a fake document to do quick checks on the front-end code.
|
|
|
|
For anything requiring a real browser, use the `cypress` tests in the `cypress` directory.
|