Skip to content

Commit b1b3d32

Browse files
committed
update imports
1 parent c65784c commit b1b3d32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/testResultsSummary.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ function getTestHeader(testResults: MatlabTestFile[][], counts: TestCounts): str
7979
<td>${counts.failed}</td>
8080
<td>${counts.incomplete}</td>
8181
<td>${counts.notRun}</td>
82-
// <td>${calculateTotalDuration(testResults)}</td>
8382
</tr>
8483
</table>`;
84+
// <td>${calculateTotalDuration(testResults)}</td>
8585
}
8686

8787
function getDetailedResults(testResults: MatlabTestFile[][]): string {
@@ -149,7 +149,7 @@ export function getTestResults(workspace: string): TestResultsData {
149149

150150
if (existsSync(resultsPath)) {
151151
try {
152-
const testArtifact = JSON.parse(fs.readFileSync(resultsPath, 'utf8'));
152+
const testArtifact = JSON.parse(readFileSync(resultsPath, 'utf8'));
153153

154154
for (const jsonTestSessionResults of testArtifact) {
155155
const testSessionResults: MatlabTestFile[] = [];

0 commit comments

Comments
 (0)