Update test describe paths
This commit is contained in:
@@ -21,7 +21,7 @@ import getMuiTheme from 'material-ui/styles/getMuiTheme';
|
||||
|
||||
import WrappedAutoComplete from './AutoComplete';
|
||||
|
||||
describe('components/AutoComplete', () => {
|
||||
describe('views/Status/components/AutoComplete', () => {
|
||||
describe('rendering', () => {
|
||||
let rendered;
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import { shallow } from 'enzyme';
|
||||
|
||||
import Box from './Box';
|
||||
|
||||
describe('components/Box', () => {
|
||||
describe('views/Status/components/Box', () => {
|
||||
describe('rendering', () => {
|
||||
const title = 'test title';
|
||||
let rendered;
|
||||
|
||||
@@ -22,7 +22,7 @@ import '../../../../environment/tests';
|
||||
|
||||
import Call from './Call';
|
||||
|
||||
describe('components/Call', () => {
|
||||
describe('views/Status/components/Call', () => {
|
||||
const call = { callIdx: 123, callNo: 456, name: 'eth_call', params: [{ name: '123' }], response: '' };
|
||||
const element = 'dummyElement';
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ import '../../../../environment/tests';
|
||||
|
||||
import Calls from './Calls';
|
||||
|
||||
describe('components/Calls', () => {
|
||||
describe('views/Status/components/Calls', () => {
|
||||
describe('rendering (no calls)', () => {
|
||||
let rendered;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ import '../../../../environment/tests';
|
||||
|
||||
import CallsToolbar from './CallsToolbar';
|
||||
|
||||
describe('components/CallsToolbar', () => {
|
||||
describe('views/Status/components/CallsToolbar', () => {
|
||||
const callEl = { offsetTop: 0 };
|
||||
const containerEl = { scrollTop: 0, clientHeight: 0, scrollHeight: 999 };
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import { decodeExtraData } from './decodeExtraData';
|
||||
|
||||
describe('MINING SETTINGS', () => {
|
||||
describe('views/Status/components/MiningSettings/decodeExtraData', () => {
|
||||
describe('EXTRA DATA', () => {
|
||||
const str = 'parity/1.0.0/1.0.0-beta2';
|
||||
const encoded = '0xd783010000867061726974798b312e302e302d6265746132';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
import { numberFromString } from './numberFromString';
|
||||
|
||||
describe('NUMBER FROM STRING', () => {
|
||||
describe('views/Status/components/MiningSettings/numberFromString', () => {
|
||||
it('should convert string to number', () => {
|
||||
expect(numberFromString('12345'), 12345);
|
||||
});
|
||||
|
||||
@@ -21,7 +21,7 @@ import '../../../../environment/tests';
|
||||
|
||||
import Response from './Response';
|
||||
|
||||
describe('components/Response', () => {
|
||||
describe('views/Status/components/Response', () => {
|
||||
describe('rendering', () => {
|
||||
it('renders non-arrays/non-objects exactly as received', () => {
|
||||
const TEST = '1234567890';
|
||||
|
||||
Reference in New Issue
Block a user