Skip to content

Commit 72795f0

Browse files
committed
update test
1 parent 8238dd8 commit 72795f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/import-node-fetch/src/index.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe('makeMultilineJSIntoSingleLine', function () {
1717
const fetch = await importNodeFetch();
1818

1919
expect(fetch).to.exist;
20-
expect(fetch).to.be.a('function');
20+
expect(fetch).to.haveOwnProperty('default');
21+
expect(fetch.default).to.be.a('function');
2122
});
2223
});

0 commit comments

Comments
 (0)