File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -544,12 +544,6 @@ test('Markdown', async function (t) {
544544 } )
545545
546546 await t . test ( 'should fail on an invalid component' , function ( ) {
547- const warn = console . warn
548- /** @type {unknown } */
549- let message
550-
551- console . error = capture
552-
553547 assert . throws ( function ( ) {
554548 renderToStaticMarkup (
555549 < Markdown
@@ -561,18 +555,6 @@ test('Markdown', async function (t) {
561555 />
562556 )
563557 } , / E l e m e n t t y p e i s i n v a l i d / )
564-
565- console . error = warn
566-
567- assert . match ( String ( message ) , / t y p e i s i n v a l i d / )
568-
569- /**
570- * @param {unknown } d
571- * @returns {undefined }
572- */
573- function capture ( d ) {
574- message = d
575- }
576558 } )
577559
578560 await t . test ( 'should support `components` (headings)' , function ( ) {
You can’t perform that action at this time.
0 commit comments