arstotzka 0.13.0 → 0.13.1
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/index.js +1 -0
- package/package.json +1 -1
- package/usage.js +1 -1
package/index.js
CHANGED
package/package.json
CHANGED
package/usage.js
CHANGED
|
@@ -97,7 +97,7 @@ const parseableIntSchema = Arstotzka.ANY_OF(
|
|
|
97
97
|
);
|
|
98
98
|
|
|
99
99
|
const tests = [
|
|
100
|
-
[null,
|
|
100
|
+
[null, "array"],
|
|
101
101
|
[testSubject0, schema], // Only an error caused by invalid validator
|
|
102
102
|
[testSubject1, schema], // Full of errors
|
|
103
103
|
["miles", "string"], // Any value can be validated, not only objects
|