Skip to content

Commit 065901b

Browse files
committed
test: put stacktrace when test failed
1 parent 05978c4 commit 065901b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/test/runLatestTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ async function main() {
1515
launchArgs: ['--disable-extensions']
1616
});
1717
} catch (err) {
18+
console.log(err);
1819
console.error('Failed to run tests');
1920
process.exit(1);
2021
}

src/test/runLegacyTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ async function main() {
2323
launchArgs: ['--disable-extensions']
2424
});
2525
} catch (err) {
26+
console.log(err);
2627
console.error('Failed to run tests');
2728
process.exit(1);
2829
}

src/test/runMinSupportVersionTest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ async function main() {
1818
launchArgs: ['--disable-extensions']
1919
});
2020
} catch (err) {
21+
console.log(err);
2122
console.error('Failed to run tests');
2223
process.exit(1);
2324
}

0 commit comments

Comments
 (0)