@tryghost/jest-snapshot 0.5.19 → 0.5.21

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 CHANGED
@@ -11,6 +11,10 @@ or
11
11
  `yarn add @tryghost/jest-snapshot`
12
12
 
13
13
 
14
+ ## Purpose
15
+
16
+ Snapshot assertion utilities and state management for Jest-style snapshots in non-Jest test suites.
17
+
14
18
  ## Usage
15
19
 
16
20
 
@@ -8,7 +8,7 @@ function matchSnapshotAssertion(properties) {
8
8
  const result = snapshotManager.match(this.obj, properties);
9
9
 
10
10
  this.params.message = result.message();
11
- this.assert(result.pass.should.eql(true));
11
+ this.assert(result.pass === true);
12
12
  }
13
13
 
14
14
  const mochaHooks = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/jest-snapshot",
3
- "version": "0.5.19",
3
+ "version": "0.5.21",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/TryGhost/framework.git",
@@ -25,7 +25,6 @@
25
25
  "devDependencies": {
26
26
  "c8": "10.1.3",
27
27
  "mocha": "11.7.5",
28
- "should": "13.2.3",
29
28
  "sinon": "21.0.1"
30
29
  },
31
30
  "dependencies": {