mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
tests(sqljs): removed istanbul pipe
This commit is contained in:
parent
0dd7251eeb
commit
7639623d44
13
gulpfile.ts
13
gulpfile.ts
@ -327,6 +327,8 @@ export class Gulpfile {
|
||||
*/
|
||||
@Task("coveragePost", ["coveragePre"])
|
||||
coveragePost() {
|
||||
let error = false;
|
||||
|
||||
chai.should();
|
||||
chai.use(require("sinon-chai"));
|
||||
chai.use(require("chai-as-promised"));
|
||||
@ -337,8 +339,15 @@ export class Gulpfile {
|
||||
grep: !!args.grep ? new RegExp(args.grep) : undefined,
|
||||
timeout: 15000
|
||||
}))
|
||||
.pipe(istanbul.writeReports())
|
||||
.on('error', process.exit.bind(process, 1));
|
||||
//.pipe(istanbul.writeReports())
|
||||
.on("error", () => {
|
||||
console.error("An error occured while running mocha");
|
||||
error = true;
|
||||
process.exit(1);
|
||||
})
|
||||
.on("finish", () => {
|
||||
console.log("mocha finished, error is " + error ? "true" : "false");
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user