File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 77jobs :
88 coverage :
99 runs-on : ubuntu-latest
10-
10+ permissions :
11+ contents : read
12+ checks : write
13+
1114 steps :
1215 - name : Checkout code
1316 uses : actions/checkout@v3
14-
1517 - name : Run Jest Coverage Report
1618 uses : step-security/jest-coverage-report-action@fix_RemoveVuln
17- with :
19+ with :
1820 github-token : ${{ secrets.GITHUB_TOKEN }}
1921 output : report-markdown # Generate markdown output without attaching a comment
20-
2122 - name : Output Jest Coverage Result
2223 run : echo "${{ steps.coverage.outputs.report }}" # Output the coverage report in markdown format
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ test('adds 1 + 2 to equal 3', () => {
44 } ) ;
55
66
7- test ( 'adds 1 + 2 to equal 4' , ( ) => {
8- expect ( 2 + 2 ) . toBe ( 4 ) ;
7+ test ( 'adds 2 + 2 to equal 4' , ( ) => {
8+ expect ( 2 + 2 ) . toBe ( 3 ) ;
99 } ) ;
1010
You can’t perform that action at this time.
0 commit comments