mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-23 09:53:06 +00:00
@@ -54,7 +54,6 @@
|
|||||||
"build/*"
|
"build/*"
|
||||||
],
|
],
|
||||||
"jest": {
|
"jest": {
|
||||||
"testEnvironment": "jsdom",
|
|
||||||
"testTimeout": 30000,
|
"testTimeout": 30000,
|
||||||
"modulePaths": [
|
"modulePaths": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
|
import jsdomGlobal from 'jsdom-global';
|
||||||
|
jsdomGlobal();
|
||||||
|
|
||||||
import { safeHTML } from '../../client/homebrew/brewRenderer/safeHTML';
|
import { safeHTML } from '../../client/homebrew/brewRenderer/safeHTML';
|
||||||
|
|
||||||
test('Exit if no document', function() {
|
test('Exit if no document', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user