@brightspace-ui/testing 1.5.0 → 1.5.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.5.0",
5
+ "version": "1.5.1",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "eslint . --ext .js",
@@ -129,7 +129,7 @@ export function visualDiffReporter({ updateGoldens } = {}) {
129
129
  const reportDir = join(rootDir, PATHS.VDIFF_ROOT, PATHS.REPORT_ROOT);
130
130
  const tempDir = join(reportDir, 'temp');
131
131
 
132
- mkdirSync(reportDir);
132
+ mkdirSync(reportDir, { recursive: true });
133
133
 
134
134
  cpSync(inputDir, tempDir, { force: true, recursive: true });
135
135
  writeFileSync(join(tempDir, 'data.js'), `export default ${json};`);