Skip to content

Commit

Permalink
Fix for tests after call to "build-plugins"
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nikoant authored and facebook-github-bot committed Mar 12, 2021
1 parent a6262cf commit b2776f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
*/

import {BaseDevice} from 'flipper';
import CrashReporterPlugin from '..';
import type {PersistedState, Crash} from '..';
import CrashReporterPlugin from '../index';
import type {PersistedState, Crash} from '../index';
import {
parseCrashLog,
getNewPersistedStateFromCrashLog,
parsePath,
shouldShowCrashNotification,
} from '..';
} from '../index';
import {getPluginKey, getPersistedState} from 'flipper';

function setDefaultPersistedState(defaultState: PersistedState) {
Expand Down
2 changes: 1 addition & 1 deletion desktop/plugins/network/__tests__/chunks.node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import {combineBase64Chunks} from '../chunks';
import {TestUtils} from 'flipper-plugin';
import * as NetworkPlugin from '..';
import * as NetworkPlugin from '../index';

test('Test assembling base64 chunks', () => {
const message = 'wassup john?';
Expand Down

0 comments on commit b2776f1

Please sign in to comment.