Skip to content

Commit

Permalink
Switch to Node16 module resolution
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
Page- committed Sep 13, 2024
1 parent 108821f commit 0b78d16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "pinejs-client-supertest",
"version": "2.1.4",
"description": "This module provides the nodejs interface for the pinejs API using request.",
"type": "commonjs",
"main": "build/index.js",
"types": "build/index.d.ts",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/chai.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { use } from 'chai';
import * as chaiAsPromised from 'chai-as-promised';
import chaiAsPromised from 'chai-as-promised';
use(chaiAsPromised);

export { expect } from 'chai';
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"module": "commonjs",
"module": "Node16",
"outDir": "build",
"noImplicitAny": true,
"noUnusedParameters": true,
Expand Down

0 comments on commit 0b78d16

Please sign in to comment.