From 11d2b933be3f775fe1723a4a60452635b0aa6cfd Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Fri, 22 Dec 2023 07:52:33 -0500 Subject: Dictionary data tests + write mode (#415) * Rename test * Refactor * Create new dictionary-data.test.js * Move utility functions * Remove old tests * Slight refactor * Add command to rebuild test data * Clarify name * Don't expect in write mode * Ignore config file --- test/data/json.json | 1 + test/data/vitest.write.config.json | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 test/data/vitest.write.config.json (limited to 'test/data') diff --git a/test/data/json.json b/test/data/json.json index 6d806263..1f856033 100644 --- a/test/data/json.json +++ b/test/data/json.json @@ -22,6 +22,7 @@ {"path": "test/data/dictionaries/invalid-dictionary6/term_meta_bank_1.json", "ignore": true}, {"path": "test/data/dictionaries/invalid-dictionary6/index.json", "ignore": true}, {"path": "test/jsconfig.json", "ignore": true}, + {"path": "test/data/vitest.write.config.json", "ignore": true}, { "path": "dev/data/manifest-variants.json", diff --git a/test/data/vitest.write.config.json b/test/data/vitest.write.config.json new file mode 100644 index 00000000..ecb4bd84 --- /dev/null +++ b/test/data/vitest.write.config.json @@ -0,0 +1,7 @@ +{ + "test": { + "include": [ + "../**/*.write.js" + ] + } +} \ No newline at end of file -- cgit v1.2.3