Skip to content

Commit

Permalink
test: resolve from nested package path
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerlox committed Nov 6, 2023
1 parent 8d1fa2c commit 836a148
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/fixture/nested/nested.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ import test from 'ava';
import importFrom from '../../../index.js';
import { testImportFromPackage } from '../../test-helpers.js'; // eslint-disable-line ava/no-import-test-files

test('package - loading from parent node_modules', t => testImportFromPackage(t, importFrom, '../../../tests/fixture/', '@insurgent/export-map-test', 'main'));
test('package - loading from parent node_modules - main', t => testImportFromPackage(t, importFrom, '.', '@insurgent/export-map-test', 'main'));
test('package - loading from parent node_modules - conditional export', t => testImportFromPackage(t, importFrom, '.', '@insurgent/export-map-test/conditional', 'conditional-import'));

0 comments on commit 836a148

Please sign in to comment.