jest/e2e/resolve-conditions/__tests__/module-name-mapper.test.mjs

15 lines
356 B
JavaScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @jest-environment jest-environment-jsdom
*/
import {fn} from 'fake-dual-dep2';
test('returns correct message', () => {
expect(fn()).toBe('from browser');
});