File tree Expand file tree Collapse file tree 1 file changed +14
-18
lines changed Expand file tree Collapse file tree 1 file changed +14
-18
lines changed Original file line number Diff line number Diff line change @@ -15,27 +15,23 @@ afterEach(() => {
15
15
test ( 'covers main.js execution when LOCAL_ACTIONS_CI_TEST is not true (integration test)' , async ( ) => {
16
16
// Mock the validators to avoid actual execution
17
17
jest . doMock ( '../src/functions/json-validator' , ( ) => ( {
18
- jsonValidator : jest
19
- . fn ( )
20
- . mockResolvedValue ( {
21
- success : true ,
22
- failed : 0 ,
23
- passed : 1 ,
24
- skipped : 0 ,
25
- violations : [ ]
26
- } )
18
+ jsonValidator : jest . fn ( ) . mockResolvedValue ( {
19
+ success : true ,
20
+ failed : 0 ,
21
+ passed : 1 ,
22
+ skipped : 0 ,
23
+ violations : [ ]
24
+ } )
27
25
} ) )
28
26
29
27
jest . doMock ( '../src/functions/yaml-validator' , ( ) => ( {
30
- yamlValidator : jest
31
- . fn ( )
32
- . mockResolvedValue ( {
33
- success : true ,
34
- failed : 0 ,
35
- passed : 1 ,
36
- skipped : 0 ,
37
- violations : [ ]
38
- } )
28
+ yamlValidator : jest . fn ( ) . mockResolvedValue ( {
29
+ success : true ,
30
+ failed : 0 ,
31
+ passed : 1 ,
32
+ skipped : 0 ,
33
+ violations : [ ]
34
+ } )
39
35
} ) )
40
36
41
37
jest . doMock ( '../src/functions/process-results' , ( ) => ( {
You can’t perform that action at this time.
0 commit comments