Skip to content

Commit

Permalink
fix: remove unused pony-cause dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Mar 18, 2024
1 parent 60da30c commit aa5b5b6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
"is-glob": "^4.0.3",
"list-installed": "^5.1.0",
"picomatch": "^4.0.1",
"pony-cause": "^2.1.10",
"read-pkg": "^9.0.1",
"semver": "^7.6.0"
},
Expand Down
5 changes: 0 additions & 5 deletions test/check-version-range.spec.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
import chai from 'chai';
import { ErrorWithCause } from 'pony-cause';

import { checkVersionRange, checkDependencyRange } from '../lib/check-version-range.js';

const should = chai.should();

process.on('unhandledRejection', cause => {
throw new ErrorWithCause('Unhandled rejection', { cause });
});

const baseVersionRangeArguments = () => /** @type {const} */ ([
{
engines: { node: '>=10.10.0' },
Expand Down
5 changes: 0 additions & 5 deletions test/installed-check.spec.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import { join } from 'desm';
import { ErrorWithCause } from 'pony-cause';

import { installedCheck } from '../lib/installed-check.js';

chai.use(chaiAsPromised);
chai.should();

process.on('unhandledRejection', cause => {
throw new ErrorWithCause('Unhandled rejection', { cause });
});

describe('installedCheck()', () => {
describe('basic errors', () => {
it('should error when no options', async () => {
Expand Down

0 comments on commit aa5b5b6

Please sign in to comment.