shikijs / textmate-grammars-themes

Collection of TextMate grammars and themes in JSON
https://textmate-grammars-themes.netlify.app/
MIT License
116 stars 57 forks source link

add a11y color tests #66

Open simjes opened 5 months ago

simjes commented 5 months ago

Tries to address #31. It doesn't look too good though on the results looking at tests/a11y-test-results.txt.

tests/a11y-test-results.txt is not the result of running the expect which is in the draft request, it was the result of a less memory consuming assertion: expect(accessibilityScanResults.violations.length).toEqual(0)

It generates tests for every language and every theme, which amounts to over 9000 tests. It runs out of memory when it tries to write the test result to file, so keeping this as draft as it needs some more work before we can have a file that we can process and show in a list.

netlify[bot] commented 5 months ago

Deploy Preview for textmate-grammars-themes ready!

Name Link
Latest commit d34ecc09c6e45c3d2c8848aebd413dcd57d2ff79
Latest deploy log https://app.netlify.com/sites/textmate-grammars-themes/deploys/6671c97e0235b90008d783c9
Deploy Preview https://deploy-preview-66--textmate-grammars-themes.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.