Skip to content

Commit

Permalink
test: fix import error that causes test failure (facebookexperimental…
Browse files Browse the repository at this point in the history
…#2090)

Summary:
When I run `yarn test`, I got a test case failure from facebookexperimental#2078 that says

```
You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/en/configuration.html

    Details:

    Recoil/packages/shared/util/__tests__/Recoil_RecoilEnv-test.js:13
    import { IS_INTERNAL } from 'Recoil_TestingUtils';
```
This PR is a fix for that

Pull Request resolved: facebookexperimental#2090

Differential Revision: D41105610

Pulled By: drarmstr

fbshipit-source-id: 7e55df8ed1257d6548c71716a21ae69d168aa2a6
  • Loading branch information
Gumichocopengin8 authored and facebook-github-bot committed Nov 8, 2022
1 parent fabfafd commit a228245
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/shared/util/__tests__/Recoil_RecoilEnv-test.js
Expand Up @@ -11,7 +11,9 @@

'use strict';

import {IS_INTERNAL} from 'Recoil_TestingUtils';
const {
IS_INTERNAL,
} = require('recoil-shared/__test_utils__/Recoil_TestingUtils');

const testOssOnly = IS_INTERNAL ? test.skip : test;

Expand Down

0 comments on commit a228245

Please sign in to comment.