diff --git a/__tests__/Uncontrolled.js b/__tests__/Uncontrolled.js index 126554f5..be238fdd 100644 --- a/__tests__/Uncontrolled.js +++ b/__tests__/Uncontrolled.js @@ -216,7 +216,7 @@ test('passes on original transform style', () => { jest.advanceTimersByTime(300) }) - const wrapEl = modal.querySelector('.content') + const wrapEl = modal.querySelector('[data-rmiz-modal-content]') expect(wrapEl.style.transform).toContain('rotate(45deg)') expect(document.body).toMatchSnapshot() diff --git a/__tests__/__snapshots__/Controlled.js.snap b/__tests__/__snapshots__/Controlled.js.snap index f4b74457..28d16a8f 100644 --- a/__tests__/__snapshots__/Controlled.js.snap +++ b/__tests__/__snapshots__/Controlled.js.snap @@ -4,7 +4,7 @@ exports[`custom open/close text 1`] = `
foo
@@ -25,7 +25,7 @@ exports[`custom open/close text 2`] = `
foo