Add default export #27
GitHub Actions / Unit Tests
succeeded
Sep 3, 2024 in 0s
82 passed, 0 failed and 0 skipped
✅ reports/junit.xml
82 tests were completed in 1s with 82 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Mock Objects | 13✅ | 902ms | ||
Parser Tests | 10✅ | 804ms | ||
Rebound calls | 12✅ | 47ms | ||
Schema | 6✅ | 55ms | ||
Simple Assert Test | 17✅ | 869ms | ||
Validator | 12✅ | 65ms | ||
Validator | 12✅ | 70ms |
✅ Mock Objects
Mock Objects Simple Mocks should generate a simple mock
✅ Mock Objects Simple Mocks should generate a simple mock
Mock Objects Simple Mocks should generate a schema from a nominal type
✅ Mock Objects Simple Mocks should generate a schema from a nominal type
Mock Objects Complex Schemas should generate a complex schema
✅ Mock Objects Complex Schemas should generate a complex schema
Mock Objects Complex Schemas Should from a type the includes an encoded reference
✅ Mock Objects Complex Schemas Should from a type the includes an encoded reference
Mock Objects Formats should generate an iso date time schema
✅ Mock Objects Formats should generate an iso date time schema
Mock Objects Formats should generate an iso time schema
✅ Mock Objects Formats should generate an iso time schema
Mock Objects Patterns should generate a ULID
✅ Mock Objects Patterns should generate a ULID
Mock Objects Patterns should generate a UUID
✅ Mock Objects Patterns should generate a UUID
Mock Objects Seeds should generate two different objects with no seed
✅ Mock Objects Seeds should generate two different objects with no seed
Mock Objects Seeds should generate two identical object with a seed
✅ Mock Objects Seeds should generate two identical object with a seed
Mock Objects Mock Fn should generate a simple mock
✅ Mock Objects Mock Fn should generate a simple mock
Mock Objects Mock Fn should generate a schema from a nominal type
✅ Mock Objects Mock Fn should generate a schema from a nominal type
Mock Objects Mock Fn should generate new objects with each call
✅ Mock Objects Mock Fn should generate new objects with each call
✅ Parser Tests
Parser Tests Parse should parse a simple schema
✅ Parser Tests Parse should parse a simple schema
Parser Tests Parse should parse a complex schema
✅ Parser Tests Parse should parse a complex schema
Parser Tests Parse should return undefined on invalid schema
✅ Parser Tests Parse should return undefined on invalid schema
Parser Tests Create Parse Fn should create a parse function
✅ Parser Tests Create Parse Fn should create a parse function
Parser Tests Create Parse Fn should return undefined on invalid schema
✅ Parser Tests Create Parse Fn should return undefined on invalid schema
Parser Tests Assert Parse should assert a simple schema
✅ Parser Tests Assert Parse should assert a simple schema
Parser Tests Assert Parse should assert a complex schema
✅ Parser Tests Assert Parse should assert a complex schema
Parser Tests Assert Parse should throw on invalid schema
✅ Parser Tests Assert Parse should throw on invalid schema
Parser Tests Create Assert Parse Fn should create an assert parse function
✅ Parser Tests Create Assert Parse Fn should create an assert parse function
Parser Tests Create Assert Parse Fn should throw on invalid schema
✅ Parser Tests Create Assert Parse Fn should throw on invalid schema
✅ Rebound calls
Rebound calls Wildcard import should not throw on assert
✅ Rebound calls Wildcard import should not throw on assert
Rebound calls Wildcard import should not throw on assertGuard
✅ Rebound calls Wildcard import should not throw on assertGuard
Rebound calls Wildcard import Should validate a simple schema
✅ Rebound calls Wildcard import Should validate a simple schema
Rebound calls Wildcard import Should invalidate a simple schema
✅ Rebound calls Wildcard import Should invalidate a simple schema
Rebound calls Wildcard import Should invalidate a simple schema with an inline call
✅ Rebound calls Wildcard import Should invalidate a simple schema with an inline call
Rebound calls Wildcard import Should create a validator
✅ Rebound calls Wildcard import Should create a validator
Rebound calls Default import should not throw on assert
✅ Rebound calls Default import should not throw on assert
Rebound calls Default import should not throw on assertGuard
✅ Rebound calls Default import should not throw on assertGuard
Rebound calls Default import Should validate a simple schema
✅ Rebound calls Default import Should validate a simple schema
Rebound calls Default import Should invalidate a simple schema
✅ Rebound calls Default import Should invalidate a simple schema
Rebound calls Default import Should invalidate a simple schema with an inline call
✅ Rebound calls Default import Should invalidate a simple schema with an inline call
Rebound calls Default import Should create a validator
✅ Rebound calls Default import Should create a validator
✅ Schema
Schema Simple Schemas should generate a simple schema
✅ Schema Simple Schemas should generate a simple schema
Schema Simple Schemas should generate a schema from a nominal type
✅ Schema Simple Schemas should generate a schema from a nominal type
Schema Complex Schemas should generate a complex schema
✅ Schema Complex Schemas should generate a complex schema
Schema Formats should generate an iso date time schema
✅ Schema Formats should generate an iso date time schema
Schema Formats should generate an iso time schema
✅ Schema Formats should generate an iso time schema
Schema Pattern should generate a ULID pattern
✅ Schema Pattern should generate a ULID pattern
✅ Simple Assert Test
Simple Assert Test Assert Guard should validate a simple schema
✅ Simple Assert Test Assert Guard should validate a simple schema
Simple Assert Test Assert Guard should throw on validation error
✅ Simple Assert Test Assert Guard should throw on validation error
Simple Assert Test Assert Guard should narrow type
✅ Simple Assert Test Assert Guard should narrow type
Simple Assert Test Assert Guard should throw ValidationError object
✅ Simple Assert Test Assert Guard should throw ValidationError object
Simple Assert Test Assert Guard should not return anything
✅ Simple Assert Test Assert Guard should not return anything
Simple Assert Test Assert Guard Deprecated assertValid should return original
✅ Simple Assert Test Assert Guard Deprecated assertValid should return original
Simple Assert Test Assert Guard Fn should validate a simple schema
✅ Simple Assert Test Assert Guard Fn should validate a simple schema
Simple Assert Test Assert Guard Fn should throw on validation error
✅ Simple Assert Test Assert Guard Fn should throw on validation error
Simple Assert Test Assert Guard Fn should narrow type
✅ Simple Assert Test Assert Guard Fn should narrow type
Simple Assert Test Assert should validate a simple schema
✅ Simple Assert Test Assert should validate a simple schema
Simple Assert Test Assert should throw on validation error
✅ Simple Assert Test Assert should throw on validation error
Simple Assert Test Assert should throw ValidationError object
✅ Simple Assert Test Assert should throw ValidationError object
Simple Assert Test Assert should return original object
✅ Simple Assert Test Assert should return original object
Simple Assert Test Assert Fn should validate a simple schema
✅ Simple Assert Test Assert Fn should validate a simple schema
Simple Assert Test Assert Fn should throw on validation error
✅ Simple Assert Test Assert Fn should throw on validation error
Simple Assert Test Assert Fn should return original object
✅ Simple Assert Test Assert Fn should return original object
Simple Assert Test Should assert and return object
✅ Simple Assert Test Should assert and return object
✅ Validator
Validator Simple Schema should validate a simple schema
✅ Validator Simple Schema should validate a simple schema
Validator Simple Schema should not validate a simple schema
✅ Validator Simple Schema should not validate a simple schema
Validator Should validate schema with type alias should validate schema
✅ Validator Should validate schema with type alias should validate schema
Validator Should validate schema with type alias should not validate schema
✅ Validator Should validate schema with type alias should not validate schema
Validator Should validate formats should validate iso-date-time
✅ Validator Should validate formats should validate iso-date-time
Validator Should validate formats should not validate iso-date-time
✅ Validator Should validate formats should not validate iso-date-time
Validator Should validate formats should validate iso_time
✅ Validator Should validate formats should validate iso_time
Validator Should validate formats should not validate iso_time
✅ Validator Should validate formats should not validate iso_time
Validator Should validate string length should validate string length
✅ Validator Should validate string length should validate string length
Validator Should validate string length should not validate string length
✅ Validator Should validate string length should not validate string length
Validator Should validate inline should validate inline
✅ Validator Should validate inline should validate inline
Validator Should validate inline should invalidate inline
✅ Validator Should validate inline should invalidate inline
✅ Validator
Validator Simple Schema should validate a simple schema
✅ Validator Simple Schema should validate a simple schema
Validator Simple Schema should not validate a simple schema
✅ Validator Simple Schema should not validate a simple schema
Validator Should validate schema with type alias should validate schema
✅ Validator Should validate schema with type alias should validate schema
Validator Should validate schema with type alias should not validate schema
✅ Validator Should validate schema with type alias should not validate schema
Validator Should validate formats should validate iso-date-time
✅ Validator Should validate formats should validate iso-date-time
Validator Should validate formats should not validate iso-date-time
✅ Validator Should validate formats should not validate iso-date-time
Validator Should validate formats should validate iso_time
✅ Validator Should validate formats should validate iso_time
Validator Should validate formats should not validate iso_time
✅ Validator Should validate formats should not validate iso_time
Validator Should validate string length should validate string length
✅ Validator Should validate string length should validate string length
Validator Should validate string length should not validate string length
✅ Validator Should validate string length should not validate string length
Validator Should validate inline should validate inline
✅ Validator Should validate inline should validate inline
Validator Should validate inline should invalidate inline
✅ Validator Should validate inline should invalidate inline
Loading