From 8c3d259cafe3c3f25ef4c9f49f63ef5f6539a0b4 Mon Sep 17 00:00:00 2001 From: Kay Robbins <1189050+VisLab@users.noreply.github.com> Date: Fri, 23 Aug 2024 08:34:58 -0500 Subject: [PATCH 1/2] Corrected COMMA MISSING hedCode to be COMMA_MISSING --- common/issues/data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/issues/data.js b/common/issues/data.js index 397648e9..42957108 100644 --- a/common/issues/data.js +++ b/common/issues/data.js @@ -23,7 +23,7 @@ export default { message: stringTemplate`Extra delimiter "${'character'}" at index ${'index'} of string "${'string'}".`, }, commaMissing: { - hedCode: 'COMMA MISSING', + hedCode: 'COMMA_MISSING', level: 'error', message: stringTemplate`Comma missing after - "${'tag'}".`, }, From 362ca3742442023724e391a0238997ec17bd5cc2 Mon Sep 17 00:00:00 2001 From: Kay Robbins <1189050+VisLab@users.noreply.github.com> Date: Fri, 23 Aug 2024 09:43:40 -0500 Subject: [PATCH 2/2] Changed {Promise} to {Promise} --- converter/__tests__/converter.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converter/__tests__/converter.spec.js b/converter/__tests__/converter.spec.js index b2a3fdda..f4b31f67 100644 --- a/converter/__tests__/converter.spec.js +++ b/converter/__tests__/converter.spec.js @@ -25,7 +25,7 @@ describe('HED string conversion', () => { * @param {Object} expectedResults The expected results. * @param {Object} expectedIssues The expected issues. * @param {function (Schema, string): [string, Issue[]]} testFunction The test function. - * @returns {Promise} + * @returns {Promise} */ const validatorBase = async function (testStrings, expectedResults, expectedIssues, testFunction) { for (const [testStringKey, testString] of Object.entries(testStrings)) {