Skip to content

Commit 0cfc162

Browse files
committed
Fix tests with default export
1 parent a8db557 commit 0cfc162

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/local.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require('path')
33
* @jest-environment node
44
*/
55

6-
const { default: getPackageStats } = require('../src')
6+
const { getPackageStats } = require('../src')
77
const { getPackageExportSizes } = require('../src')
88

99
require('dotenv').config()

tests/real-world-stats.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { default: getPackageStats } = require('../src')
1+
const { getPackageStats } = require('../src')
22
const pSeries = require('p-series')
33

44
require('dotenv').config()

0 commit comments

Comments
 (0)