Skip to content

Commit

Permalink
tests ~ make required changes for newly TypeScript-based package
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Dec 27, 2020
1 parent 3cf0552 commit a58b6ef
Show file tree
Hide file tree
Showing 3 changed files with 4 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 @@ -8,7 +8,7 @@ const path = require('path');
const test = require('ava');
const spawn = require('cross-spawn');

const module_ = require('../src/lib');
const module_ = require('../build/umd');

// Integration tests

Expand Down
3 changes: 2 additions & 1 deletion test/types.test-d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { expectType } from 'tsd';
import osPaths = require('../src/lib');

import osPaths from '../src';

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 @@ -6,7 +6,7 @@ const os = require('os');

const test = require('ava');

const osPaths = require('../src/lib');
const osPaths = require('../build/umd');

test('default', (t) => {
const paths = osPaths();
Expand Down

0 comments on commit a58b6ef

Please sign in to comment.