Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: rework tests to node-only #350

Merged
merged 1 commit into from
Jan 29, 2025
Merged

test: rework tests to node-only #350

merged 1 commit into from
Jan 29, 2025

Conversation

43081j
Copy link
Contributor

@43081j 43081j commented Jan 28, 2025

Long ago it seems we stopped testing in a browser, so this removes the associated switches in the test files and moves to a node-only suite.

Meanwhile, this moves to using c8 for coverage and also reworks the tests to hit a local server rather than a real one (previously was hitting chaijs.com and another domain or two which changed underneath it over time).

CI is failing in main right now because of this. It was relying on external web servers for the tests to pass, and they have since changed the responses it was asserting against

@koddsson could you possibly take a look at this?

the diff is worthless i think, you're better off reading the new file by itself

Long ago it seems we stopped testing in a browser, so this removes the
associated switches in the test files and moves to a node-only suite.

Meanwhile, this moves to using c8 for coverage and also reworks the
tests to hit a local server rather than a real one (previously was
hitting `chaijs.com` and another domain or two which changed underneath
it over time).
Copy link
Member

@keithamus keithamus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@keithamus keithamus merged commit 2ee73da into main Jan 29, 2025
4 checks passed
@43081j 43081j deleted the fixing-them-tests branch January 29, 2025 10:47
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.

2 participants