You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Match the test file with its corresponding implementation file in the coverage results
26203
-
// Test files typically have names like 'abc_test.rego', while coverage is reported for 'abc.rego' because the test file is testing the implementation file, and the coverage is on how much the implementation file is covered.
26204
-
// We want to associate the coverage data from 'abc.rego' with the test results from 'abc_test.rego',
// Extract the base file name without extension from the coverage report
55
63
constfileNameWithoutExtension=cr.file.slice(
56
64
lastSlashIndex+1,
57
65
dotRegoIndex,
58
66
);
59
-
60
-
// Match the test file with its corresponding implementation file in the coverage results
61
-
// Test files typically have names like 'abc_test.rego', while coverage is reported for 'abc.rego' because the test file is testing the implementation file, and the coverage is on how much the implementation file is covered.
62
-
// We want to associate the coverage data from 'abc.rego' with the test results from 'abc_test.rego',
0 commit comments