Skip to content

Commit

Permalink
fix(deps): update dependency emittery to ^0.10.0 (#481)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency emittery to ^0.10.0

* cast to pEvent

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Misha Kaletsky <mmkal@users.noreply.github.com>
  • Loading branch information
3 people committed Oct 7, 2021
1 parent 457d57b commit f749e5e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {
"@rushstack/ts-command-line": "^4.7.7",
"@types/verror": "^1.10.4",
"emittery": "^0.8.1",
"emittery": "^0.10.0",
"fs-jetpack": "^4.1.0",
"glob": "^7.1.6",
"type-fest": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/lock.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('locks', () => {
expect(syncer.read()).toEqual({});

const promise1 = umzug.up();
await pEvent(umzug, 'migrating');
await pEvent(umzug as pEvent.Emitter<string, any>, 'migrating');
const promise2 = umzug.up();

await expect(promise2).rejects.toThrowError(/Can't acquire lock. (.*)storage.json.lock exists/);
Expand Down

0 comments on commit f749e5e

Please sign in to comment.