sxy-test-runner 1.1.6 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
File without changes
@@ -31,7 +31,6 @@ export async function buildDependencyTree(config, filename) {
31
31
  dt.remove(file); // arrayRemove?
32
32
  }
33
33
  });
34
-
35
34
  await debug('found dep tree', dt);
36
35
  return dt;
37
36
  }
@@ -17,7 +17,9 @@ export async function findTestFiles(config) {
17
17
  //cwd: projectDir,
18
18
  ignore: testsIgnoreGlobs
19
19
  };
20
- const testFiles = await globby(testsGlobs, testsIgnoreGlobs);
20
+
21
+ //const testFiles = globby(testsGlobs, testsIgnoreGlobs)
22
+ const testFiles = await globby(testsGlobs, globOptions);
21
23
  await debug('testFiles', testFiles);
22
24
  return testFiles;
23
25
  });
@@ -9,7 +9,6 @@ await mochaDescribe('injectProperties() function', async function () {
9
9
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
10
10
  //console.log(chalk.red`outBuffer2`, outBuffer)
11
11
  };
12
-
13
12
  const errorString = 'is reserved';
14
13
  const basePacket = {};
15
14
  let properties;
@@ -47,7 +47,6 @@ export async function parseDescribe(config, describe) {
47
47
  //beforeEachTestExports
48
48
  });
49
49
  }
50
-
51
50
  const test = it;
52
51
  const beforeDescribeExports = {};
53
52
  await configBeforeEachDescribe(config, beforeDescribeExports);
@@ -20,7 +20,6 @@ export async function runDescribe(config, describe) {
20
20
  if (capturingConsoleLog) {
21
21
  console.log = previousConsoleLog; // eslint-disable-line no-console
22
22
  }
23
-
24
23
  return describeResult;
25
24
  });
26
25
  }
@@ -47,7 +47,6 @@ export async function runDescribeOld(config, describe) {
47
47
  //beforeEachTestExports
48
48
  });
49
49
  }
50
-
51
50
  const test = it;
52
51
  const describeExports = {};
53
52
  await configBeforeEachDescribe(config, describeExports);
@@ -63,7 +63,6 @@ export async function runIt(config, it, beforeEachTestFunc, afterEachTestFunc) {
63
63
  //testsState.testResults.push(testResult)
64
64
  });
65
65
  }
66
-
67
66
  async function configBeforeEachTest(config, exports) {
68
67
  if (config.beforeEachTest) {
69
68
  const theExports = await runTasks(config.beforeEachTest, undefined);
@@ -42,7 +42,6 @@ await mochaDescribe('runTest() function', async function () {
42
42
  //testResult.describeResultsSummary.itsTotal.should.equal(1)
43
43
  //testResult.describeResultsSummary.itsPasses.should.equal(1)
44
44
  });
45
-
46
45
  await mochaIt('should return sensible results from a test file with describes without any its/tests', async function () {
47
46
  //const config = applyConfigDefaults({})
48
47
 
@@ -96,7 +96,6 @@ export async function runTests(config, testFiles, failingTests, customOut = unde
96
96
  testsResultsSummary.itsPasses += +runTestResult.describeResultsSummary.itsPasses;
97
97
  //testsResultsSummary.itsInvalid += +runTestResult.describeResultsSummary.itsInvalid // see comment above, not doing invalid tests
98
98
  }
99
-
100
99
  testsResultsSummary.total += await objects.count(erroringTests);
101
100
  //for ( const testFile in erroringTests ) {
102
101
  // testsResultsSummary.total++
@@ -10,7 +10,6 @@ await mochaDescribe('runTests() function', async function () {
10
10
  const customOut = (...texts) => {
11
11
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
12
12
  };
13
-
14
13
  const config = await applyConfigDefaults({});
15
14
  const testFiles = ['unitTesting/sampleTests/1.test.js'];
16
15
  const results = await runTests(config, testFiles, [], customOut);
@@ -30,7 +29,6 @@ await mochaDescribe('runTests() function', async function () {
30
29
  const customOut = (...texts) => {
31
30
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
32
31
  };
33
-
34
32
  const config = await applyConfigDefaults({});
35
33
  const testFiles = ['unitTesting/sampleTests/1.test.js', 'unitTesting/sampleTests/blank.test.js', 'unitTesting/sampleTests/describesWithoutTests.test.js'];
36
34
  const results = await runTests(config, testFiles, [], customOut);
@@ -19,7 +19,6 @@ await mochaDescribe('showTestLoadingError() function', async function () {
19
19
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
20
20
  //console.log('outBuffer:', outBuffer)
21
21
  };
22
-
23
22
  await showTestLoadingError(config, test, customOut);
24
23
  await console.log(outBuffer);
25
24
  await outBuffer.should.include(test.error);
@@ -46,7 +46,6 @@ await mochaDescribe('showTestResult() function', async function () {
46
46
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
47
47
  //console.log('outBuffer:', outBuffer)
48
48
  };
49
-
50
49
  await showTestResult(config, sampleTestResult, customOut);
51
50
 
52
51
  //console.log(outBuffer)
@@ -101,7 +100,6 @@ await mochaDescribe('showTestResult() function', async function () {
101
100
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
102
101
  //console.log('outBuffer:', outBuffer)
103
102
  };
104
-
105
103
  await showTestResult(config, sampleTestResult, customOut);
106
104
 
107
105
  //console.log(outBuffer)
@@ -148,7 +146,6 @@ await mochaDescribe('showTestResult() function', async function () {
148
146
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
149
147
  //console.log('outBuffer:', outBuffer)
150
148
  };
151
-
152
149
  await showTestResult(config, sampleTestResult, customOut);
153
150
 
154
151
  //console.log(outBuffer)
@@ -180,7 +177,6 @@ await mochaDescribe('showTestResult() function', async function () {
180
177
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
181
178
  //console.log('outBuffer:', outBuffer)
182
179
  };
183
-
184
180
  await showTestResult(config, testResult, customOut);
185
181
  await console.log(outBuffer);
186
182
  await outBuffer.should.include(testResult.file);
@@ -26,7 +26,6 @@ await mochaDescribe('watchFilesAndRunTests() function', async function () {
26
26
  const customOut = (...texts) => {
27
27
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
28
28
  };
29
-
30
29
  watchFilesAndRunTests(config, [], {}, [], customOut);
31
30
 
32
31
  //console.log('outBuffer', outBuffer)
@@ -60,7 +59,6 @@ describe('${thing}', ({it}) => {
60
59
  const customOut = (...texts) => {
61
60
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
62
61
  };
63
-
64
62
  const testFileName = `${tempFolder}/b.test.js`;
65
63
  const thing = 'Sample test 2';
66
64
  const should = '2 should equal 2';
@@ -97,7 +95,6 @@ describe('${thing}', ({it}) => {
97
95
  const customOut = (...texts) => {
98
96
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
99
97
  };
100
-
101
98
  const testFileName = `${tempFolder}/c.test.js`;
102
99
  const thing = 'Sample test 3';
103
100
  const should = '3 should equal 3';
@@ -97,7 +97,6 @@ export async function watchFilesAndRunTestsChokidar(config, testFiles, dependenc
97
97
  }
98
98
  }
99
99
  }
100
-
101
100
  await debug('tests', tests);
102
101
  await debug('failingTests', failingTests);
103
102
  await debug('reRunFailingTests', config.watch.reRunFailingTests);
@@ -28,7 +28,6 @@ await mochaDescribe('watchFilesAndRunTestsChokidar() function', async function (
28
28
  const customOut = (...texts) => {
29
29
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
30
30
  };
31
-
32
31
  const testFileName = 'watchTests/watchFilesAndRunTestsChokidar/a.test.js';
33
32
  const thing = 'Sample test 1';
34
33
  const should = '1 should equal 1';
@@ -63,7 +62,6 @@ describe('${thing}', ({it}) => {
63
62
  const customOut = (...texts) => {
64
63
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
65
64
  };
66
-
67
65
  const testFileName = `${tempFolder}/b.test.js`;
68
66
  const thing = 'Sample test 2';
69
67
  const should = '2 should equal 2';
@@ -100,7 +98,6 @@ describe('${thing}', ({it}) => {
100
98
  const customOut = (...texts) => {
101
99
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
102
100
  };
103
-
104
101
  const testFileName = `${tempFolder}/c.test.js`;
105
102
  const thing = 'Sample test 3';
106
103
  const should = '3 should equal 3';
@@ -119,7 +119,6 @@ export async function watchFilesAndRunTestsNodeWatch(config, testFiles, dependen
119
119
  }
120
120
  }
121
121
  }
122
-
123
122
  await debug('tests', tests);
124
123
  await debug('failingTests', failingTests);
125
124
  await debug('reRunFailingTests', config.watch.reRunFailingTests);
@@ -26,7 +26,6 @@ await mochaDescribe('watchFilesAndRunTestsNodeWatch() function', async function
26
26
  const customOut = (...texts) => {
27
27
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
28
28
  };
29
-
30
29
  watchFilesAndRunTestsNodeWatch(config, [], {}, [], customOut);
31
30
 
32
31
  //console.log('outBuffer', outBuffer)
@@ -61,7 +60,6 @@ describe('${thing}', ({it}) => {
61
60
  const customOut = (...texts) => {
62
61
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
63
62
  };
64
-
65
63
  const testFileName = `${tempFolder}/b.test.js`;
66
64
  const thing = 'Sample test 2';
67
65
  const should = '2 should equal 2';
@@ -101,7 +99,6 @@ describe('${thing}', ({it}) => {
101
99
  const customOut = (...texts) => {
102
100
  outBuffer += texts.join(' ') + '\n'; // join and save to the buffer
103
101
  };
104
-
105
102
  const testFileName = `${tempFolder}/c.test.js`;
106
103
  const thing = 'Sample test 3';
107
104
  const should = '3 should equal 3';
package/dist/cli/once.js CHANGED
@@ -35,7 +35,6 @@ export async function once() {
35
35
  await log(chalk.brightblue`running tests...`);
36
36
  await runTests(config, testFiles, []); //// async function, run in thread
37
37
  }
38
-
39
38
  const time = (await new Date().getTime()) - startTime;
40
39
  await out(chalk.grey`\n${await time.toLocaleString()}ms\n`);
41
40
  }
@@ -77,7 +77,6 @@ export async function describe(theThing, tests) {
77
77
  its
78
78
  //beforeEachDescribeExports
79
79
  };
80
-
81
80
  await global.testState.describes.push(describe);
82
81
 
83
82
  // if config.afterEachDescribe
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export declare function describe(name: string, func: (callbacks: {
2
- it: (should: string, test: Function) => void
3
- test: (should: string, test: Function) => void
2
+ it: (should: string, test: () => void) => void
3
+ test: (should: string, test: () => void) => void
4
4
  afterDescribe: () => void
5
5
  beforeEachTest: () => Record<string, any>
6
6
  afterEachTest: () => Record<string, any>
package/package.json CHANGED
@@ -1,89 +1,91 @@
1
1
  {
2
- "name": "sxy-test-runner",
3
- "version": "1.1.6",
4
- "license": "MIT",
5
- "homepage": "https://github.com/RobertSandiford/sxy-test-runner",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/RobertSandiford/sxy-test-runner"
9
- },
10
- "keywords": [
11
- "ES Modules",
12
- "ES6 Modules",
13
- "Test Runner",
14
- "Test Framework",
15
- "Testing",
16
- "Unit Testing",
17
- "Automated Tests"
18
- ],
19
- "type": "module",
20
- "main": "./dist/index.js",
21
- "module": "./dist/index.js",
22
- "bin": {
23
- "sxy-test": "./dist/cli/index.js",
24
- "sxy-test-runner": "./dist/cli/index.js"
25
- },
26
- "files": [
27
- "dist",
28
- "sxy-loader.config.js",
29
- "readme.md"
30
- ],
31
- "scripts": {
32
- "build": "babel --watch --out-dir dist src",
33
- "dev": "cross-env NODE_OPTIONS=\"--experimental-specifier-resolution=node\" nodemon --experimental-specifier-resolution=node --watch dist/cli --watch dist/cli/lib --watch sxy-test-runner.config.js --watch sxy-loader.config.js dist/cli/index.js",
34
- "dev-once": "nodemon --experimental-specifier-resolution=node --watch dist/cli --watch sxy-test-runner.config.js --watch sxy-loader.config.js dist/cli/index.js once",
35
- "dev-init": "node --experimental-specifier-resolution=node dist/cli/index.js init",
36
- "unit-test": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/*.unitTest.js",
37
- "unit-test-show-test-result": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/showTestResult.unitTest.js",
38
- "unit-test-load-config": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/loadConfig.unitTest.js",
39
- "unit-test-watch-files": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watchFiles.unitTest.js",
40
- "unit-test-watch-files-chokidar": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watchFilesChokidar.unitTest.js",
41
- "unit-test-watch-files-and-run-tests": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watchFilesAndRunTests.unitTest.js",
42
- "unit-test-watch-files-and-run-tests-chokidar": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watchFilesAndRunTestsChokidar.unitTest.js",
43
- "unit-test-watch": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watch.unitTest.js",
44
- "unit-test-inject-properties": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/injectProperties.unitTest.js",
45
- "unit-test-run-it": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runIt.unitTest.js",
46
- "unit-test-run-describe": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runDescribe.unitTest.js",
47
- "unit-test-parse-describe": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/parseDescribe.unitTest.js",
48
- "unit-test-run-describe-run": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runDescribeRun.unitTest.js",
49
- "unit-test-run-test": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runTest.unitTest.js",
50
- "unit-test-load-test-file": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/loadTestFile.unitTest.js",
51
- "unit-test-add-exports": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/addExports.unitTest.js",
52
- "unit-test-describe": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/describe.unitTest.js",
53
- "unit-test-run-tests": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runTests.unitTest.js",
54
- "mocha-trial": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runTest.unitTest.js"
55
- },
56
- "dependencies": {
57
- "@babel/core": "^7.21.4",
58
- "chalk-extensions": "^1.0.1",
59
- "chokidar": "^3.5.3",
60
- "cross-env": "^7.0.3",
61
- "dependency-tree": "^8.1.2",
62
- "figures": "^4.0.1",
63
- "glob": "^7.2.3",
64
- "globby": "^12.2.0",
65
- "minimatch": "^5.1.6",
66
- "node-watch": "^0.7.3",
67
- "slash": "^5.0.0",
68
- "sxy-dev-tools": "^1.0.6",
69
- "sxy-helpers": "^1.0.0",
70
- "sxy-lib": "^1.0.12",
71
- "sxy-lib-object-copy": "^1.0.5",
72
- "sxy-loader": "^2.0.19",
73
- "sxy-standard": "^1.0.12",
74
- "sxy-standard-object-copy": "^1.0.5"
75
- },
76
- "devDependencies": {
77
- "@babel/cli": "^7.21.0",
78
- "babel-plugin-transform-awaitful": "^1.0.0",
79
- "chai": "^4.3.7",
80
- "chai-as-promised": "^7.1.1",
81
- "eslint": "^7.32.0",
82
- "eslint-config-sandi": "^1.2.0",
83
- "mocha": "^9.2.2",
84
- "mocha-steps": "^1.3.0",
85
- "nodemon": "^2.0.22",
86
- "sinon": "^12.0.1",
87
- "sinon-chai": "^3.7.0"
88
- }
89
- }
2
+ "name": "sxy-test-runner",
3
+ "version": "1.3.1",
4
+ "license": "MIT",
5
+ "homepage": "https://github.com/RobertSandiford/sxy-test-runner",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/RobertSandiford/sxy-test-runner"
9
+ },
10
+ "keywords": [
11
+ "ES Modules",
12
+ "ES6 Modules",
13
+ "Test Runner",
14
+ "Test Framework",
15
+ "Testing",
16
+ "Unit Testing",
17
+ "Automated Tests"
18
+ ],
19
+ "type": "module",
20
+ "main": "dist/index.js",
21
+ "module": "dist/index.js",
22
+ "bin": {
23
+ "sxy-test": "./dist/cli/index.js",
24
+ "sxy-test-runner": "./dist/cli/index.js"
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "sxy-loader.config.js",
29
+ "readme.md"
30
+ ],
31
+ "dependencies": {
32
+ "@babel/core": "^7.23.5",
33
+ "chalk-extensions": "^1.0.1",
34
+ "chokidar": "^3.5.3",
35
+ "cross-env": "^7.0.3",
36
+ "dependency-tree": "^8.1.2",
37
+ "figures": "^4.0.1",
38
+ "glob": "^7.2.3",
39
+ "globby": "^12.2.0",
40
+ "minimatch": "^5.1.6",
41
+ "node-watch": "^0.7.4",
42
+ "slash": "^5.1.0",
43
+ "sxy-dev-tools": "^1.0.6",
44
+ "sxy-helpers": "^1.0.0",
45
+ "sxy-lib": "^1.0.12",
46
+ "sxy-lib-object-copy": "^1.0.5",
47
+ "sxy-loader": "^2.1.0",
48
+ "sxy-standard": "^1.0.12",
49
+ "sxy-standard-object-copy": "^1.0.5"
50
+ },
51
+ "devDependencies": {
52
+ "@babel/cli": "^7.23.4",
53
+ "babel-plugin-transform-awaitful": "^1.0.0",
54
+ "chai": "^4.3.10",
55
+ "chai-as-promised": "^7.1.1",
56
+ "eslint": "^7.32.0",
57
+ "eslint-config-sandi": "^1.2.0",
58
+ "mocha": "^9.2.2",
59
+ "mocha-steps": "^1.3.0",
60
+ "nodemon": "^2.0.22",
61
+ "sinon": "^12.0.1",
62
+ "sinon-chai": "^3.7.0"
63
+ },
64
+ "scripts": {
65
+ "build": "babel --watch --out-dir dist src",
66
+ "build-once": "babel --out-dir dist src",
67
+ "dev": "cross-env NODE_OPTIONS=\"--experimental-specifier-resolution=node\" nodemon --experimental-specifier-resolution=node --watch dist/cli --watch dist/cli/lib --watch sxy-test-runner.config.js --watch sxy-loader.config.js dist/cli/index.js",
68
+ "dev-once": "nodemon --experimental-specifier-resolution=node --watch dist/cli --watch sxy-test-runner.config.js --watch sxy-loader.config.js dist/cli/index.js once",
69
+ "dev-init": "node --experimental-specifier-resolution=node dist/cli/index.js init",
70
+ "unit-test": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/*.unitTest.js",
71
+ "unit-test-show-test-result": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/showTestResult.unitTest.js",
72
+ "unit-test-load-config": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/loadConfig.unitTest.js",
73
+ "unit-test-watch-files": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watchFiles.unitTest.js",
74
+ "unit-test-watch-files-chokidar": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watchFilesChokidar.unitTest.js",
75
+ "unit-test-watch-files-and-run-tests": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watchFilesAndRunTests.unitTest.js",
76
+ "unit-test-watch-files-and-run-tests-chokidar": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watchFilesAndRunTestsChokidar.unitTest.js",
77
+ "unit-test-watch": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/watch.unitTest.js",
78
+ "unit-test-inject-properties": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/injectProperties.unitTest.js",
79
+ "unit-test-run-it": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runIt.unitTest.js",
80
+ "unit-test-run-describe": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runDescribe.unitTest.js",
81
+ "unit-test-parse-describe": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/parseDescribe.unitTest.js",
82
+ "unit-test-run-describe-run": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runDescribeRun.unitTest.js",
83
+ "unit-test-run-test": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runTest.unitTest.js",
84
+ "unit-test-load-test-file": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/loadTestFile.unitTest.js",
85
+ "unit-test-add-exports": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/addExports.unitTest.js",
86
+ "unit-test-describe": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/describe.unitTest.js",
87
+ "unit-test-run-tests": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runTests.unitTest.js",
88
+ "mocha-trial": "mocha --watch --parallel --config unitTesting/.mocharc.cjs --watch-files dist,unitTesting dist/**/runTest.unitTest.js",
89
+ "prepublish": "pnpm build-once"
90
+ }
91
+ }