Skip to content

Commit 6363989

Browse files
committed
fix: import commonjs module
1 parent ca69201 commit 6363989

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/helper/MockServer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { mock, settings } from 'pactum';
1+
import pkg from 'pactum';
2+
3+
const { mock, settings } = pkg;
24

35
/**
46
* ## Configuration

0 commit comments

Comments
 (0)