Skip to content

Commit 0b97f1b

Browse files
committed
debugging on CI
1 parent dbdbfb4 commit 0b97f1b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/karma-test-shim.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ configureTestBed()
2525
/** Runs the Angular Material specs in Karma. */
2626
function runMaterialSpecs() {
2727
// By importing all spec files, Karma will run the tests directly.
28-
return Promise.all(specFiles.map(function(fileName) {
28+
// 1/8 - 6/8, 7/8 - 8/8 => passes
29+
// 6/8 - 7/8 => fails
30+
const range = [13/16, 14/16].map(x => Math.floor(x * specFiles.length));
31+
console.error(`>>>> File ${range[0]}-${range[1]} of ${specFiles.length}`);
32+
const subset = specFiles.slice(...range);
33+
subset.forEach(f => console.error(`>>>> ${f}`));
34+
return Promise.all(subset.map(function(fileName) {
2935
return System.import(fileName);
3036
}));
3137
}

0 commit comments

Comments
 (0)