mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(snapshot): fix error with scoped var
This commit is contained in:
@@ -105,7 +105,7 @@ async function run() {
|
||||
|
||||
const files = await getTestFiles();
|
||||
files.forEach(f => mocha.addFile(f));
|
||||
const snapshot = await mochaLoadFiles(mocha);
|
||||
snapshot = await mochaLoadFiles(mocha);
|
||||
const failures = await mochaRun(mocha);
|
||||
|
||||
if (takeScreenshots) {
|
||||
@@ -132,7 +132,7 @@ function mochaLoadFiles(mocha) {
|
||||
mocha.loadFiles(() => {
|
||||
specIndex = 0;
|
||||
|
||||
const snapshot = new Snapshot({
|
||||
snapshot = new Snapshot({
|
||||
groupId: 'ionic-core',
|
||||
appId: 'snapshots',
|
||||
testId: generateTestId(),
|
||||
|
||||
Reference in New Issue
Block a user