Skip to content

Commit

Permalink
fixy
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Sep 27, 2020
1 parent 13f4b44 commit 886aff2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 63 deletions.
59 changes: 3 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions package.json
Expand Up @@ -61,7 +61,6 @@
},
"devDependencies": {
"@npm/types": "^1.0.1",
"@types/chai": "^4.2.12",
"@types/cross-spawn": "^6.0.2",
"@types/eslint": "^7.2.3",
"@types/fs-extra": "^9.0.1",
Expand All @@ -76,7 +75,6 @@
"@types/update-notifier": "^4.1.1",
"@types/write-file-atomic": "^3.0.1",
"c8": "^7.3.1",
"chai": "^4.2.0",
"codecov": "^3.7.2",
"cross-spawn": "^7.0.3",
"fs-extra": "^9.0.1",
Expand All @@ -85,9 +83,9 @@
"mocha": "^8.1.3",
"sinon": "^9.0.3",
"tmp": "0.2.1",
"typescript": "^4"
"typescript": "^4.0.3"
},
"peerDependencies": {
"typescript": ">=3 <=4"
"typescript": ">=4"
}
}
2 changes: 1 addition & 1 deletion test/fixtures/kitchen/package.json
Expand Up @@ -2,7 +2,7 @@
"name": "kitchen",
"version": "1.0.0",
"devDependencies": {
"typescript": "^2.4.2",
"typescript": "^4.0.3",
"gts": "file:../gts.tgz"
}
}
4 changes: 2 additions & 2 deletions test/kitchen.ts
Expand Up @@ -2,7 +2,7 @@ import chalk = require('chalk');
import * as cp from 'child_process';
import * as fs from 'fs-extra';
import * as tmp from 'tmp';
import {assert} from 'chai';
import * as assert from 'assert';
import * as path from 'path';
import {describe, it, before, after} from 'mocha';

Expand Down Expand Up @@ -145,7 +145,7 @@ describe('🚰 kitchen sink', () => {
Object.assign({}, {reject: false}, execOpts)
);
assert.strictEqual(res.exitCode, 1);
assert.include(res.stdout, 'assigned a value but');
assert.ok(res.stdout.includes('assigned a value but'));
});

it('should fix', () => {
Expand Down

0 comments on commit 886aff2

Please sign in to comment.