forked from tact-lang/tact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.teardown.js
34 lines (33 loc) · 871 Bytes
/
jest.teardown.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
const coverage = require("@tact-lang/coverage");
const path = require("path");
module.exports = async () => {
if (process.env.COVERAGE === "true") {
coverage.completeCoverage([
path.resolve(__dirname, "examples", "output", "*.boc"),
path.resolve(
__dirname,
"src",
"test",
"codegen",
"output",
"*.boc",
),
path.resolve(
__dirname,
"src",
"test",
"e2e-emulated",
"output",
"*.boc",
),
path.resolve(
__dirname,
"src",
"benchmarks",
"contracts",
"output",
"*.boc",
),
]);
}
};