From 76f3954602b3ae6a31c14b28b7c9b57bc52d1be8 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 30 Apr 2022 15:19:43 -0500 Subject: [PATCH] Log failed value --- test/listings/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/listings/index.js b/test/listings/index.js index ed97c5a..9d94975 100644 --- a/test/listings/index.js +++ b/test/listings/index.js @@ -179,7 +179,7 @@ test('Listings have valid headings', async t => { const value = element.getAttribute( check ) - t.assert( checkMethod( value ), `${ check } on ${ selector } failed` ) + t.assert( checkMethod( value ), `${ check } on ${ selector } failed. Value is '${ value }'` ) } }