0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-31 23:52:48 +00:00

Add tests via JSDOM-global

This commit is contained in:
G.Ambatte
2024-07-04 10:02:45 +12:00
parent b638cca547
commit e83e6567af
3 changed files with 377 additions and 0 deletions

View File

@@ -34,6 +34,7 @@
"test:definition-lists": "jest tests/markdown/definition-lists.test.js --verbose --noStackTrace",
"test:emojis": "jest tests/markdown/emojis.test.js --verbose --noStackTrace",
"test:route": "jest tests/routes/static-pages.test.js --verbose",
"test:safehtml": "jest tests/html/safeHTML.test.js --verbose",
"phb": "node scripts/phb.js",
"prod": "set NODE_ENV=production && npm run build",
"postinstall": "npm run build",
@@ -99,6 +100,8 @@
"express-static-gzip": "2.1.7",
"fs-extra": "11.2.0",
"js-yaml": "^4.1.0",
"jsdom": "^24.1.0",
"jsdom-global": "^3.0.2",
"jwt-simple": "^0.5.6",
"less": "^3.13.1",
"lodash": "^4.17.21",