Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { match } from 'react-router-dom';
import renderer from 'react-test-renderer';
import { MainRouteParams, PathTypes } from '../../common/types';
import { createHistory, createLocation, createMatch, mockFunction } from '../../utils/test_utils';
import props from './__fixtures__/props.json';
import { CodeFileTree } from './file_tree';
import props from './props.json';

const location: Location = createLocation({
pathname: '/github.com/google/guava/tree/master/guava/src/com/google',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import sinon from 'sinon';

import { SearchScope } from '../../../../model';
import { AutocompleteSuggestionType } from '../suggestions';
import props from './props.json';
import props from './__fixtures__/props.json';
import { CodeQueryBar } from './query_bar';

// Injest a mock random function to fixiate the output for generating component id.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import toJson from 'enzyme-to-json';
import React from 'react';
import sinon from 'sinon';

import props from '../props.json';
import props from '../__fixtures__/props.json';
import { SuggestionComponent } from './suggestion_component';

test('render file item', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import toJson from 'enzyme-to-json';
import React from 'react';
import { MemoryRouter } from 'react-router-dom';

import props from '../props.json';
import props from '../__fixtures__/props.json';
import { SuggestionsComponent } from './suggestions_component';

test('render empty suggestions component', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import { SymbolKind } from 'vscode-languageserver-types';
import { SymbolWithMembers } from '../../../reducers/symbol';
import { SymbolWithMembers } from '../../../../reducers/symbol';

export const props: { structureTree: SymbolWithMembers[] } = {
structureTree: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { MemoryRouter } from 'react-router-dom';
import renderer from 'react-test-renderer';
import { mockFunction } from '../../../utils/test_utils';
import { CodeSymbolTree } from '../code_symbol_tree';
import { props } from './props';
import { props } from './__fixtures__/props';

test('render symbol tree correctly', () => {
const tree = renderer
Expand Down