Skip to content

Conversation

@ihollander
Copy link
Contributor

Fixes #11

The previous version of the tests used the css-validator library, which uses the WC3 CSS validator via a network request and runs asynchronously. This caused tests to timeout for some students as reported in #11.

To resolve this issue, I changed the tests to use the csstree-validator library, which runs synchronously and doesn't rely on any network requests to validate a CSS file.

@ihollander ihollander merged commit 64e3e49 into master Dec 28, 2021
@ihollander ihollander deleted the css-validation-master branch December 28, 2021 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failing async mocha test it("contains valid CSS")

2 participants