Skip to content

Commit

Permalink
Update mocha, sinon, typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack committed Aug 19, 2024
1 parent 4f5fc92 commit 5d9d5a2
Show file tree
Hide file tree
Showing 5 changed files with 525 additions and 155 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Nodejs 14
- name: Use Nodejs 16
uses: actions/setup-node@v3
with:
node-version: 16.x
Expand Down
22 changes: 16 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,22 @@
"@types/execa": "^0.9.0",
"@types/glob": "^5.0.35",
"@types/inquirer": "^6.0.2",
"@types/mocha": "^5",
"@types/mocha": "^10.0.7",
"@types/nock": "^9.3.0",
"@types/node": "^10",
"@types/node": "^10.9.4",
"@types/randomstring": "^1.1.6",
"@types/supports-color": "^5.3.0",
"@types/write-json-file": "^2.2.1",
"chai": "^4",
"globby": "^8",
"mocha": "^5",
"mocha": "^10.7.3",
"nock": "^10.0.0",
"nyc": "^11",
"sinon": "^6.3.2",
"stub": "^0.3.2",
"sinon": "^16.1.3",
"ts-node": "^7.0.1",
"tslint": "^5",
"tsutils": "2.27.2",
"typescript": "3.5.3"
"typescript": "4.9.5"
},
"engines": {
"node": "16.x"
Expand All @@ -63,6 +62,17 @@
"oclif-plugin"
],
"license": "MIT",
"mocha": {
"require": [
"test/helpers/init.js",
"ts-node/register",
"source-map-support/register"
],
"watch-extensions": "ts",
"recursive": true,
"reporter": "spec",
"timeout": 5000
},
"oclif": {
"commands": "./lib/commands",
"bin": "heroku",
Expand Down
4 changes: 2 additions & 2 deletions src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ interface ManifestAPIInterface {

export abstract class Manifest {
manifest?: ManifestInterface
abstract async _get(): Promise<ManifestInterface>
abstract async _set(manifest: ManifestInterface): Promise<ManifestInterface>
abstract _get(): Promise<ManifestInterface>
abstract _set(manifest: ManifestInterface): Promise<ManifestInterface>

async get(): Promise<ManifestInterface> {
if (this.manifest) {
Expand Down
7 changes: 0 additions & 7 deletions test/mocha.opts

This file was deleted.

Loading

0 comments on commit 5d9d5a2

Please sign in to comment.