diff --git a/src/index.js b/src/index.js index 79d4be8..a854dcf 100644 --- a/src/index.js +++ b/src/index.js @@ -1,2 +1,2 @@ -export * from './mock'; -export * from './test'; +export * from './mock.js'; +export * from './test.js'; diff --git a/test/src/inplacesort.js b/test/src/inplacesort.js index 393a66e..4b35d0b 100644 --- a/test/src/inplacesort.js +++ b/test/src/inplacesort.js @@ -1,6 +1,6 @@ // eslint-disable-next-line ava/use-test import ava from 'ava'; -import * as spec from '../../src'; +import * as spec from '../../src/index.js'; spec.test(ava, [['mock', spec.mock]]);