Skip to content

Commit 72212ab

Browse files
committed
chore: upgrade deps
1 parent 6a58ebf commit 72212ab

File tree

3 files changed

+2609
-1490
lines changed

3 files changed

+2609
-1490
lines changed

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,39 +21,39 @@
2121
]
2222
},
2323
"dependencies": {
24-
"@hapi/boom": "^9.1.1",
24+
"@hapi/boom": "^10.0.0",
2525
"@koa/router": "^10.0.0",
26-
"@ladjs/api": "^6.0.0",
26+
"@ladjs/api": "^9.0.2",
2727
"@ladjs/env": "^3.0.0",
28-
"@ladjs/graceful": "^1.0.5",
29-
"@ladjs/shared-config": "^4.0.0",
28+
"@ladjs/graceful": "^2.0.1",
29+
"@ladjs/shared-config": "^7.0.3",
3030
"@slack/web-api": "^6.0.0",
3131
"axe": "^8.0.0",
32-
"crypto-random-string": "^3.3.1",
32+
"crypto-random-string": "^5.0.0",
3333
"del": "^6.0.0",
34-
"humanize-string": "^2.1.0",
34+
"humanize-string": "^3.0.0",
3535
"ip": "^1.1.5",
3636
"koa-jwt": "^4.0.1",
3737
"lodash": "^4.17.20",
38-
"markdown-it": "^12.0.4",
38+
"markdown-it": "^13.0.1",
3939
"markdown-it-emoji": "^2.0.0",
4040
"markdown-it-github-headings": "^2.0.0",
41-
"markdown-it-highlightjs": "^3.4.0",
41+
"markdown-it-highlightjs": "^4.0.1",
4242
"markdown-it-task-checkbox": "^1.0.6",
43-
"pino": "^6.11.1",
43+
"pino": "^8.0.0",
4444
"signale": "^1.4.0"
4545
},
4646
"devDependencies": {
47-
"@commitlint/cli": "^11.0.0",
48-
"@commitlint/config-conventional": "^11.0.0",
49-
"ava": "^3.15.0",
47+
"@commitlint/cli": "^17.0.2",
48+
"@commitlint/config-conventional": "^17.0.2",
49+
"ava": "^4.3.0",
5050
"bree": "^8.0.0",
5151
"codecov": "^3.8.1",
5252
"delay": "^5.0.0",
53-
"eslint": "^7.19.0",
53+
"eslint": "^8.17.0",
5454
"eslint-config-xo-lass": "^1.0.5",
5555
"eslint-formatter-pretty": "^4.0.0",
56-
"eslint-plugin-compat": "^3.9.0",
56+
"eslint-plugin-compat": "^4.0.2",
5757
"eslint-plugin-no-smart-quotes": "^1.1.0",
5858
"fixpack": "^4.0.0",
5959
"get-port": "^5.1.1",
@@ -62,9 +62,9 @@
6262
"gulp-livereload": "^4.0.2",
6363
"gulp-remark": "^9.0.0",
6464
"gulp-xo": "^0.25.0",
65-
"husky": "^5.0.9",
65+
"husky": "^8.0.1",
6666
"jsonwebtoken": "^8.5.1",
67-
"lint-staged": "10.5.4",
67+
"lint-staged": "13.0.0",
6868
"make-dir": "^3.1.0",
6969
"ms": "^2.1.3",
7070
"nodemon": "^2.0.7",
@@ -77,7 +77,7 @@
7777
"remark-cli": "^9.0.0",
7878
"remark-preset-github": "^4.0.1",
7979
"supertest": "^6.1.3",
80-
"xo": "^0.37.1"
80+
"xo": "^0.49.0"
8181
},
8282
"engines": {
8383
"node": ">=12.11.0"

test/api/v1/jobs/get.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
const path = require('path');
2+
const { once } = require('events');
13
const test = require('ava');
24
const jwt = require('jsonwebtoken');
3-
const path = require('path');
45
const delay = require('delay');
56

67
const config = require('../../../../config');
@@ -36,10 +37,11 @@ test.before(async (t) => {
3637
t.context.bree.start();
3738
});
3839

39-
test('successfully', async (t) => {
40+
test.serial('successfully', async (t) => {
4041
const { api, bree } = t.context;
4142

42-
await delay(300);
43+
// wait until the first worker finishes so our expect is correctly timed
44+
await once(bree, 'worker deleted');
4345

4446
const res = await api.get(rootUrl);
4547

@@ -68,7 +70,7 @@ test('successfully filter by name', async (t) => {
6870
);
6971
});
7072

71-
test('successfully filter by status', async (t) => {
73+
test.serial('successfully filter by status', async (t) => {
7274
const { api, bree } = t.context;
7375

7476
await delay(200);

0 commit comments

Comments
 (0)