From 1a9f77d128e06a29a48318ca4f9fde8f99caeadc Mon Sep 17 00:00:00 2001 From: amit3200 Date: Tue, 3 Dec 2024 22:29:17 +0530 Subject: [PATCH] Making test message correct --- test/index.test.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.test.mjs b/test/index.test.mjs index 9804a1b..9494133 100644 --- a/test/index.test.mjs +++ b/test/index.test.mjs @@ -207,8 +207,8 @@ describe('percySnapshot', () => { error = e; } - expect(helpers.logger.stderr).toEqual(jasmine.arrayContaining([ - '[percy] Could not take Screenshot "Snapshot 1"' + expect(helpers.logger.stdout).toEqual(jasmine.arrayContaining([ + '[percy] Percy is not running, disabling snapshots' ])); expect(error).toBeInstanceOf(Error); });