mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-08-06 06:47:38 +00:00
Move tests to tests/components directory
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@
|
||||
"test:coverage": "jest --coverage --silent --runInBand",
|
||||
"test:dev": "jest --verbose --watch",
|
||||
"test:basic": "jest tests/markdown/basic.test.js --verbose",
|
||||
"test:components": "jest \"client/components/.*\\.test\\.(js|jsx)$\" --verbose",
|
||||
"test:components": "jest \"tests/components/.*\\.test\\.(js|jsx)$\" --verbose",
|
||||
"test:variables": "jest tests/markdown/variables.test.js --verbose",
|
||||
"test:mustache-syntax": "jest \".*(mustache-syntax).*\" --verbose --noStackTrace",
|
||||
"test:mustache-syntax:inline": "jest \".*(mustache-syntax).*\" -t '^Inline:.*' --verbose --noStackTrace",
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { Dropdown } from './dropdown.jsx';
|
||||
import { Dropdown } from '../../../client/components/dropdown/dropdown.jsx';
|
||||
import { createOpenMenu, renderDropdown, setupDropdownTestLifecycle } from './dropdown.testUtils.js';
|
||||
|
||||
setupDropdownTestLifecycle();
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import React from 'react';
|
||||
import { Dropdown } from './dropdown.jsx';
|
||||
import { Dropdown } from '../../../client/components/dropdown/dropdown.jsx';
|
||||
import { renderDropdown, setupDropdownTestLifecycle } from './dropdown.testUtils.js';
|
||||
|
||||
setupDropdownTestLifecycle();
|
||||
Reference in New Issue
Block a user