From 5079dcdc6278293f06bb6f4d9c431d5702271bd7 Mon Sep 17 00:00:00 2001 From: Patrick O'Carroll Date: Fri, 5 Jan 2018 10:34:01 +0100 Subject: [PATCH] updated jest file and snapshot --- .../AlertRuleList/AlertRuleList.jest.tsx | 2 +- .../__snapshots__/AlertRuleList.jest.tsx.snap | 91 +++++++++---------- 2 files changed, 45 insertions(+), 48 deletions(-) diff --git a/public/app/containers/AlertRuleList/AlertRuleList.jest.tsx b/public/app/containers/AlertRuleList/AlertRuleList.jest.tsx index 1025a7991f6..a12340555e9 100644 --- a/public/app/containers/AlertRuleList/AlertRuleList.jest.tsx +++ b/public/app/containers/AlertRuleList/AlertRuleList.jest.tsx @@ -45,7 +45,7 @@ describe('AlertRuleList', () => { it('should render 1 rule', () => { page.update(); - let ruleNode = page.find('.card-item-wrapper'); + let ruleNode = page.find('.alert-rule-item'); expect(toJson(ruleNode)).toMatchSnapshot(); }); diff --git a/public/app/containers/AlertRuleList/__snapshots__/AlertRuleList.jest.tsx.snap b/public/app/containers/AlertRuleList/__snapshots__/AlertRuleList.jest.tsx.snap index b15a8605b7a..ba73331f028 100644 --- a/public/app/containers/AlertRuleList/__snapshots__/AlertRuleList.jest.tsx.snap +++ b/public/app/containers/AlertRuleList/__snapshots__/AlertRuleList.jest.tsx.snap @@ -2,71 +2,68 @@ exports[`AlertRuleList should render 1 rule 1`] = `
  • + + +
    -
    -
    - -
    + - - - - OK - - - for - 5 minutes - -
    + for + 5 minutes +
    +
  • `;