@opra/testing 1.28.5 → 1.29.0

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.
Files changed (2) hide show
  1. package/README.md +2 -9
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -47,18 +47,11 @@ describe('UsersController', () => {
47
47
  });
48
48
 
49
49
  it('should return users', async () => {
50
- await client
51
- .get('/users')
52
- .expect(200)
53
- .toSuccess()
54
- .toMatchSchema(User);
50
+ await client.get('/users').expect(200).toSuccess().toMatchSchema(User);
55
51
  });
56
52
 
57
53
  it('should return 404 for unknown user', async () => {
58
- await client
59
- .get('/users/999')
60
- .expect(404)
61
- .toError('NotFound');
54
+ await client.get('/users/999').expect(404).toError('NotFound');
62
55
  });
63
56
  });
64
57
  ```
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@opra/testing",
3
- "version": "1.28.5",
3
+ "version": "1.29.0",
4
4
  "description": "Opra testing package",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
7
7
  "homepage": "https://www.oprajs.com",
8
8
  "dependencies": {
9
9
  "@browsery/type-is": "^2.0.2-r1",
10
- "@jsopen/objects": "^2.2.2",
10
+ "@jsopen/objects": "^2.2.3",
11
11
  "ansi-colors": "^4.1.3",
12
12
  "rule-judgment": "^1.1.5",
13
13
  "tslib": "^2.8.1"
14
14
  },
15
15
  "peerDependencies": {
16
- "@opra/client": "^1.28.5",
17
- "@opra/common": "^1.28.5",
16
+ "@opra/client": "^1.29.0",
17
+ "@opra/common": "^1.29.0",
18
18
  "expect": "^29.0.0 || ^30.0.0",
19
19
  "jest-matcher-utils": "^29.0.0 || ^30.0.0"
20
20
  },