From a82f2e51d49f8f4f14677d6ffc931a879c8c627e Mon Sep 17 00:00:00 2001 From: "Michael \"Z\" Goddard" Date: Thu, 5 Aug 2021 14:10:05 -0400 Subject: [PATCH] fixup! harness: add a test input output formatting library --- scripts/create-example-tests.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/create-example-tests.js b/scripts/create-example-tests.js index abdc75d2c..d7568efd1 100644 --- a/scripts/create-example-tests.js +++ b/scripts/create-example-tests.js @@ -46,7 +46,9 @@ const createExampleTests = ({directory, args = {}}) => new Promise(resolve => { const resourcesDirectory = path.join(testsDirectory, 'resources'); const ariaAtHarnessFilePath = path.join(resourcesDirectory, 'aria-at-harness.mjs'); + const ariaAtTestIoFormatFilePath = path.join(resourcesDirectory, 'aria-at-test-io-format.mjs'); const ariaAtTestRunFilePath = path.join(resourcesDirectory, 'aria-at-test-run.mjs'); + const ariaAtTestWindowFilePath = path.join(resourcesDirectory, 'aria-at-test-window.mjs'); const atCommandsFilePath = path.join(resourcesDirectory, 'at-commands.mjs'); const keysFilePath = path.join(resourcesDirectory, 'keys.mjs'); const vrenderFilePath = path.join(resourcesDirectory, 'vrender.mjs'); @@ -69,7 +71,9 @@ const createExampleTests = ({directory, args = {}}) => new Promise(resolve => { const supportFileBuildPath = path.join(testsBuildDirectory, 'support.json'); const ariaAtHarnessFileBuildPath = path.join(resourcesBuildDirectory, 'aria-at-harness.mjs'); + const ariaAtTestIoFormatFileBuildPath = path.join(resourcesBuildDirectory, 'aria-at-test-io-format.mjs'); const ariaAtTestRunFileBuildPath = path.join(resourcesBuildDirectory, 'aria-at-test-run.mjs'); + const ariaAtTestWindowFileBuildPath = path.join(resourcesBuildDirectory, 'aria-at-test-window.mjs'); const atCommandsFileBuildPath = path.join(resourcesBuildDirectory, 'at-commands.mjs'); const keysFileBuildPath = path.join(resourcesBuildDirectory, 'keys.mjs'); const vrenderFileBuildPath = path.join(resourcesBuildDirectory, 'vrender.mjs'); @@ -84,7 +88,9 @@ const createExampleTests = ({directory, args = {}}) => new Promise(resolve => { fse.copySync(supportFilePath, supportFileBuildPath, {overwrite: true}); fse.copySync(ariaAtHarnessFilePath, ariaAtHarnessFileBuildPath, {overwrite: true}); + fse.copySync(ariaAtTestIoFormatFilePath, ariaAtTestIoFormatFileBuildPath, {overwrite: true}); fse.copySync(ariaAtTestRunFilePath, ariaAtTestRunFileBuildPath, {overwrite: true}); + fse.copySync(ariaAtTestWindowFilePath, ariaAtTestWindowFileBuildPath, {overwrite: true}); fse.copySync(atCommandsFilePath, atCommandsFileBuildPath, {overwrite: true}); fse.copySync(keysFilePath, keysFileBuildPath, {overwrite: true}); fse.copySync(vrenderFilePath, vrenderFileBuildPath, {overwrite: true});