GitHub
01/03/2023, 5:14 AMnpm run dist
all pass on my machine
• all test passed, but one error not doc related was found
Test Suites: 7 passed, 7 total
Tests: 22 skipped, 18 passed, 40 total
Snapshots: 0 total
Time: 4.257 s
Ran all test suites.
> jest-pact@0.10.2 build
> rimraf dist && tsc --project tsconfig.dist.json
node_modules/@pact-foundation/pact-core/src/types.d.ts:1:8 - error TS1259: Module '"/home/ltsuda/developer/jest-pact/node_modules/@types/needle/index"' can only be default-imported using the 'esModuleInterop' flag
1 import needle from 'needle';
~~~~~~
node_modules/@types/needle/index.d.ts:353:1
353 export = needle;
~~~~~~~~~~~~~~~~
This module is declared with using 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
Found 1 error in node_modules/@pact-foundation/pact-core/src/types.d.ts:1
☑︎ I have followed the commit message guidelines, with messages suitable for appearing in the changelog
Description
pact-foundation/jest-pact
✅ All checks have passed
1/1 successful checks