Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderMac committed Oct 13, 2023
1 parent 32c3eea commit 11f3011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"prettify": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"format": "pnpm lint && pnpm prettify",
"lint": "eslint ./src ./test --ext .ts --fix",
"test": "NODE_ENV=test mocha",
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' NODE_ENV=test mocha",
"coverage": "nyc npm test",
"coverage:codecov": "nyc --reporter=lcov npm test && codecov"
},
Expand Down
2 changes: 1 addition & 1 deletion test/src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as _ from 'lodash'
import should from 'should'

import * as o2diff from '../../src'
import * as o2diff from '../../src/index'
import { getObjectID } from './test-utils'

describe('o2diff / main', () => {
Expand Down

0 comments on commit 11f3011

Please sign in to comment.