From 6c780aed87679cc534e47027480c904ccc768f48 Mon Sep 17 00:00:00 2001 From: Andrew Fuller Date: Sun, 18 Jun 2017 23:43:33 -0500 Subject: [PATCH] Update react-addons-test-utils to react-dom/test-utils --- specs/Modal.events.spec.js | 2 +- specs/Modal.spec.js | 2 +- specs/Modal.style.spec.js | 2 +- specs/helper.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specs/Modal.events.spec.js b/specs/Modal.events.spec.js index f1fb9e95..cf353a9b 100644 --- a/specs/Modal.events.spec.js +++ b/specs/Modal.events.spec.js @@ -3,7 +3,7 @@ import sinon from 'sinon'; import expect from 'expect'; import React from 'react'; import ReactDOM from 'react-dom'; -import TestUtils from 'react-addons-test-utils'; +import TestUtils from 'react-dom/test-utils'; import Modal from '../src/components/Modal'; import { moverlay, mcontent, diff --git a/specs/Modal.spec.js b/specs/Modal.spec.js index f4c160dc..dea72c93 100644 --- a/specs/Modal.spec.js +++ b/specs/Modal.spec.js @@ -2,7 +2,7 @@ import expect from 'expect'; import React, { Component } from 'react'; import ReactDOM from 'react-dom'; -import TestUtils from 'react-addons-test-utils'; +import TestUtils from 'react-dom/test-utils'; import Modal from '../src/components/Modal'; import * as ariaAppHider from '../src/helpers/ariaAppHider'; import { diff --git a/specs/Modal.style.spec.js b/specs/Modal.style.spec.js index 142a7857..68302338 100644 --- a/specs/Modal.style.spec.js +++ b/specs/Modal.style.spec.js @@ -2,7 +2,7 @@ import expect from 'expect'; import React from 'react'; import ReactDOM from 'react-dom'; -import TestUtils from 'react-addons-test-utils'; +import TestUtils from 'react-dom/test-utils'; import Modal from '../src/components/Modal'; import * as ariaAppHider from '../src/helpers/ariaAppHider'; import { diff --git a/specs/helper.js b/specs/helper.js index 0d2cffc0..00c3fac5 100644 --- a/specs/helper.js +++ b/specs/helper.js @@ -1,7 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom'; import Modal from '../src/components/Modal'; -import TestUtils from 'react-addons-test-utils'; +import TestUtils from 'react-dom/test-utils'; const divStack = [];