@@ -137,35 +137,35 @@ describe("Artifact Processing Tests", () => {
137137 ) ;
138138 } ) ;
139139
140- it ( "should write test results data to the GitHub job summary" , ( ) => {
141- if ( testResultsData ) {
142- const actionName = process . env . GITHUB_ACTION || "" ;
143- testResultsSummary . addSummary ( testResultsData , actionName ) ;
144-
145- expect ( core . summary . addHeading ) . toHaveBeenCalledTimes ( 2 ) ;
146- expect ( core . summary . addHeading ) . toHaveBeenNthCalledWith (
147- 1 ,
148- expect . stringContaining ( "MATLAB Test Results (" + actionName + ")" ) ,
149- ) ;
150- expect ( core . summary . addHeading ) . toHaveBeenNthCalledWith (
151- 1 ,
152- expect . stringContaining (
153- '<a href="https://github.com/matlab-actions/run-tests/blob/main/README.md#view-test-results"' ,
154- ) ,
155- ) ;
156- expect ( core . summary . addHeading ) . toHaveBeenNthCalledWith (
157- 1 ,
158- expect . stringContaining ( 'target="_blank"' ) ,
159- ) ;
160- expect ( core . summary . addHeading ) . toHaveBeenNthCalledWith (
161- 1 ,
162- expect . stringContaining ( "ℹ️</a>" ) ,
163- ) ;
164- expect ( core . summary . addHeading ) . toHaveBeenNthCalledWith ( 2 , "All tests" , 3 ) ;
165-
166- expect ( core . summary . addRaw ) . toHaveBeenCalledTimes ( 2 ) ;
167- }
168- } ) ;
140+ // it("should write test results data to the GitHub job summary", () => {
141+ // if (testResultsData) {
142+ // const actionName = process.env.GITHUB_ACTION || "";
143+ // testResultsSummary.addSummary(testResultsData, actionName);
144+
145+ // expect(core.summary.addHeading).toHaveBeenCalledTimes(2);
146+ // expect(core.summary.addHeading).toHaveBeenNthCalledWith(
147+ // 1,
148+ // expect.stringContaining("MATLAB Test Results (" + actionName + ")"),
149+ // );
150+ // expect(core.summary.addHeading).toHaveBeenNthCalledWith(
151+ // 1,
152+ // expect.stringContaining(
153+ // '<a href="https://github.com/matlab-actions/run-tests/blob/main/README.md#view-test-results"',
154+ // ),
155+ // );
156+ // expect(core.summary.addHeading).toHaveBeenNthCalledWith(
157+ // 1,
158+ // expect.stringContaining('target="_blank"'),
159+ // );
160+ // expect(core.summary.addHeading).toHaveBeenNthCalledWith(
161+ // 1,
162+ // expect.stringContaining("ℹ️</a>"),
163+ // );
164+ // expect(core.summary.addHeading).toHaveBeenNthCalledWith(2, "All tests", 3);
165+
166+ // expect(core.summary.addRaw).toHaveBeenCalledTimes(2);
167+ // }
168+ // });
169169} ) ;
170170
171171describe ( "HTML Structure Tests" , ( ) => {
0 commit comments