Skip to content

Commit 9c0174e

Browse files
author
sam
committed
refactor(tests): <0.8.0 solidity coverage
Signed-off-by: sam <[email protected]>
1 parent 948b089 commit 9c0174e

62 files changed

Lines changed: 31172 additions & 8 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/nodejs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ jobs:
2121
run: |
2222
npm install
2323
npm run test
24+
bash scripts/run-coverage.sh
2425
env:
25-
CI: ""
26+
CI: true

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ build/
66
*.tar.gz
77
*.zip
88
*.tar
9-
109
*.log
10+
**/__mocks__/**
11+
**/__tests__/**
12+
**/examples/**
13+
**/tasks/**
14+
.nyc_output
15+
16+
spec/_json/*.js
1117

.npmignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ __tests__
1010
.eslint*
1111
.prettier*
1212
!src/*.js
13+
**/__mocks__/**
14+
**/__tests__/**
15+
**/examples/**
16+
**/tasks/**

.prettierignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
*.html
22
tests/
33
*.sol
4-
src/*
4+
!src/*
5+
test_config/
6+
tests_config/
7+
test/
8+
__snapshots__
9+
coverage/

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = {
55
collectCoverageFrom: [
66
"scripts/**/*.js",
77
"!scripts/generateIndexes.js",
8+
"!scripts/makeData.js",
89
"src/**/*.js",
910
"!<rootDir>/node_modules/",
1011
"!src/prettier-comments/**/*.js",

0 commit comments

Comments
 (0)