Commit 1a3f078
authored
fix(unit tests): Make test assertion for json schema validation failure less specific (#358)
Summary:
A new patch version of json-schema was released that changed an error message. Our test specifically asserts on the old version of the error message.
With this change we assert on a substring that's included in both the old & new versions.
Test plan:
Run unit tests1 parent 0eb3ba3 commit 1a3f078
File tree
1 file changed
+1
-1
lines changed- packages/optimizely-sdk/lib/utils/json_schema_validator
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments