Skip to content

Commit

Permalink
tests ~ refactor tests for new source organization
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Feb 8, 2021
1 parent 604e0a6 commit b92a075
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/integration.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const test = require('ava');
const commandExists = require('command-exists');
const spawn = require('cross-spawn');

const module_ = require('../build/cjs+tests');
const module_ = require('../build/cjs+tests/mod.cjs.js');

const vNodeJS = process.versions.node.split('.');
const vNodeJSMajor = +vNodeJS[0];
Expand Down
2 changes: 1 addition & 1 deletion test/types.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expectType } from 'tsd';

import osPaths from '../src';
import osPaths from '../src/mod.esm';

expectType<typeof osPaths>(osPaths());

Expand Down
2 changes: 1 addition & 1 deletion test/unit.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const path = require('path');

const test = require('ava');

const osPaths = require('../build/cjs+tests');
const osPaths = require('../build/cjs+tests/mod.cjs.js');

const isWinOS = /^win/i.test(process.platform);

Expand Down

0 comments on commit b92a075

Please sign in to comment.