@eggjs/supertest 9.0.2-beta.2 → 9.0.2-beta.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +10 -6
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ describe('GET /users', function () {
|
|
|
154
154
|
.set('Accept', 'application/json')
|
|
155
155
|
.expect('Content-Type', /json/)
|
|
156
156
|
.expect(200)
|
|
157
|
-
.then(response => {
|
|
157
|
+
.then((response) => {
|
|
158
158
|
expect(response.body.email).toEqual('foo@bar.com');
|
|
159
159
|
});
|
|
160
160
|
});
|
|
@@ -194,7 +194,7 @@ describe('POST /user', function () {
|
|
|
194
194
|
id: 'some fixed id',
|
|
195
195
|
name: 'john',
|
|
196
196
|
},
|
|
197
|
-
done
|
|
197
|
+
done,
|
|
198
198
|
);
|
|
199
199
|
});
|
|
200
200
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/supertest",
|
|
3
|
-
"version": "9.0.2-beta.
|
|
3
|
+
"version": "9.0.2-beta.22",
|
|
4
4
|
"description": "SuperAgent driven library for testing HTTP servers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bdd",
|
|
@@ -31,7 +31,14 @@
|
|
|
31
31
|
"./package.json": "./package.json"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
|
34
|
-
"access": "public"
|
|
34
|
+
"access": "public",
|
|
35
|
+
"exports": {
|
|
36
|
+
".": "./dist/index.js",
|
|
37
|
+
"./package.json": "./package.json"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"typecheck": "tsgo --noEmit"
|
|
35
42
|
},
|
|
36
43
|
"dependencies": {
|
|
37
44
|
"@types/superagent": "^8.1.9",
|
|
@@ -48,8 +55,5 @@
|
|
|
48
55
|
},
|
|
49
56
|
"engines": {
|
|
50
57
|
"node": ">=22.18.0"
|
|
51
|
-
},
|
|
52
|
-
"scripts": {
|
|
53
|
-
"typecheck": "tsgo --noEmit"
|
|
54
58
|
}
|
|
55
|
-
}
|
|
59
|
+
}
|