WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@Rxpr0
Copy link

@Rxpr0 Rxpr0 commented Nov 30, 2025

new JSDOM() -->Uses current API (no deprecation warning)
before() hook -->Isolates setup logic; avoids global state
assert.exists() -->assert.isNotEmpty() | More semantic, readable, and precise
.trim() on text --> Prevents false positives from whitespace-only content

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.

1 participant