Fix for tests after call to "build-plugins"
Summary: After calling "bundle-all-plugins" locally, "yarn test" is failing with obscure message, because some tests are trying to import built bundles instead of "index.tsx". This diff fixes that. Reviewed By: passy Differential Revision: D26986246 fbshipit-source-id: cffe988dc642e2c5d2b2028581cd162350186e0c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a6262cf3f0
commit
b2776f1c36
@@ -8,14 +8,14 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import {BaseDevice} from 'flipper';
|
import {BaseDevice} from 'flipper';
|
||||||
import CrashReporterPlugin from '..';
|
import CrashReporterPlugin from '../index';
|
||||||
import type {PersistedState, Crash} from '..';
|
import type {PersistedState, Crash} from '../index';
|
||||||
import {
|
import {
|
||||||
parseCrashLog,
|
parseCrashLog,
|
||||||
getNewPersistedStateFromCrashLog,
|
getNewPersistedStateFromCrashLog,
|
||||||
parsePath,
|
parsePath,
|
||||||
shouldShowCrashNotification,
|
shouldShowCrashNotification,
|
||||||
} from '..';
|
} from '../index';
|
||||||
import {getPluginKey, getPersistedState} from 'flipper';
|
import {getPluginKey, getPersistedState} from 'flipper';
|
||||||
|
|
||||||
function setDefaultPersistedState(defaultState: PersistedState) {
|
function setDefaultPersistedState(defaultState: PersistedState) {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
import {combineBase64Chunks} from '../chunks';
|
import {combineBase64Chunks} from '../chunks';
|
||||||
import {TestUtils} from 'flipper-plugin';
|
import {TestUtils} from 'flipper-plugin';
|
||||||
import * as NetworkPlugin from '..';
|
import * as NetworkPlugin from '../index';
|
||||||
|
|
||||||
test('Test assembling base64 chunks', () => {
|
test('Test assembling base64 chunks', () => {
|
||||||
const message = 'wassup john?';
|
const message = 'wassup john?';
|
||||||
|
|||||||
Reference in New Issue
Block a user