Skip to content

Commit 40922c0

Browse files
committed
feat: test
1 parent ab68b28 commit 40922c0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "regressify",
3-
"version": "1.8.5",
3+
"version": "1.8.6",
44
"description": "Visual regression tests support",
55
"main": "src/index.ts",
66
"type": "module",

src/regressify.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export async function regressifyProcess(command: 'approve' | 'reference' | 'test
3131
return;
3232
}
3333

34-
configs.forEach(async (config) => {
34+
for (const config of configs) {
3535
console.log(chalk.blue(`Running backstopjs command: ${command} for test suite: ${config.id}`));
3636

3737
await backstop(command, { config })
@@ -41,7 +41,7 @@ export async function regressifyProcess(command: 'approve' | 'reference' | 'test
4141
.catch(() => {
4242
console.log(chalk.red(command.toUpperCase() + ' FAILED'));
4343
});
44-
});
44+
}
4545
}
4646

4747
function patchCustomStyle(reportIndex: string) {

0 commit comments

Comments
 (0)