summaryrefslogtreecommitdiff
path: root/test/test-schema.js
Commit message (Collapse)AuthorAge
* JSON schema refactor (#731)toasted-nutbread2020-08-15
| | | | | | | | | | | | | | | | | | | | | | | | | * Remove JsonSchema.clone * Move createProxy function * Group public properties first * Create private version of getPropertySchema * Mark functions as private * Use non-static getValidValueOrDefault * Mark private * Make public validate function not take an info parameter * Remove JsonSchema * Add isValid function * Use isValid for some tests * Fix incorrect type
* More JSON schema improvements (#729)toasted-nutbread2020-08-11
| | | | | | | | | * Add support for constant values * Add contains check for arrays * Add tests * Simplify getValidValueOrDefault testing
* Json schema improvements (#722)toasted-nutbread2020-08-09
| | | | | | | | | | | | | * Add support for regex pattern testing * Add tests * Separate JsonSchemaProxyHandler statics into JsonSchemaValidator * Use this instead of JsonSchemaValidator * Make JsonSchemaValidator non-static * Use cache map for regex
* Clone function (#624)toasted-nutbread2020-06-28
| | | | | | | | | | | * Add clone function * Replace utilIsolate with clone * Replace JsonSchema.isolate with clone function * Include core.js for tests which use json-schema.js * Update visisted set
* Update license author field to broader to explicitly reflect thatAlex Yatskov2020-04-10
| | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :)
* Abstract Yomichan extension script executiontoasted-nutbread2020-03-02
|
* Add missing copyright headerstoasted-nutbread2020-02-23
|
* Fix test-schema.jstoasted-nutbread2020-02-22
|
* Create yomichan-test script to reduce repeated codetoasted-nutbread2020-02-17
|
* Update how main is invokedtoasted-nutbread2020-02-17
|
* Add some basic unit tests for JSON schemastoasted-nutbread2020-02-17