@brightspace-ui/testing 1.53.0 → 1.53.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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@brightspace-ui/testing",
3
3
  "description": "Utilities for testing front-end components and applications",
4
4
  "type": "module",
5
- "version": "1.53.0",
5
+ "version": "1.53.1",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "npm run lint:eslint && npm run lint:style",
@@ -2,7 +2,7 @@ import * as os from 'node:os';
2
2
  import { cpSync, existsSync, mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
3
3
  import { dirname, join } from 'node:path';
4
4
  import { env } from 'node:process';
5
- import { execSync } from 'node:child_process';
5
+ import { execFileSync } from 'node:child_process';
6
6
  import { fileURLToPath } from 'node:url';
7
7
  import { getTestInfo } from './visual-diff-info.js';
8
8
  import { PATHS } from './paths.js';
@@ -163,7 +163,13 @@ export function visualDiffReporter({ updateGoldens } = {}) {
163
163
  cpSync(inputDir, tempDir, { force: true, recursive: true });
164
164
  writeFileSync(join(tempDir, 'data.js'), `export default ${json};`);
165
165
 
166
- execSync(`npx rollup -c ${join(__dirname, './rollup.config.js')}`, { stdio: 'pipe' });
166
+ execFileSync('npx', [
167
+ 'rollup',
168
+ '-c',
169
+ join(__dirname, './rollup.config.js')
170
+ ], {
171
+ stdio: 'pipe'
172
+ });
167
173
 
168
174
  rmSync(tempDir, { recursive: true });
169
175