diff --git a/chapter09/src/regionsApp/countrySelect.snapshot.test.js b/chapter09/src/regionsApp/countrySelect.snapshot.test.js index 410db82..d9eb8e6 100644 --- a/chapter09/src/regionsApp/countrySelect.snapshot.test.js +++ b/chapter09/src/regionsApp/countrySelect.snapshot.test.js @@ -1,3 +1,5 @@ +/* @flow */ + import React from "react"; import TestRenderer from "react-test-renderer"; diff --git a/chapter09/src/regionsApp/countrySelect.test.js b/chapter09/src/regionsApp/countrySelect.test.js index db8d942..85344f4 100644 --- a/chapter09/src/regionsApp/countrySelect.test.js +++ b/chapter09/src/regionsApp/countrySelect.test.js @@ -2,6 +2,7 @@ import React from "react"; import Enzyme from "enzyme"; + import Adapter from "enzyme-adapter-react-16"; import { CountrySelect } from "./countrySelect.component"; diff --git a/chapter09/src/regionsApp/regionsTable.connected.test.js b/chapter09/src/regionsApp/regionsTable.connected.test.js index bec4274..79279e9 100644 --- a/chapter09/src/regionsApp/regionsTable.connected.test.js +++ b/chapter09/src/regionsApp/regionsTable.connected.test.js @@ -1,6 +1,7 @@ /* @flow */ import Enzyme from "enzyme/build"; + import Adapter from "enzyme-adapter-react-16/build"; import { getProps } from "./regionsTable.connected.js"; diff --git a/chapter09/src/regionsApp/regionsTable.snapshot.test.js b/chapter09/src/regionsApp/regionsTable.snapshot.test.js index c521f53..9ef4a08 100644 --- a/chapter09/src/regionsApp/regionsTable.snapshot.test.js +++ b/chapter09/src/regionsApp/regionsTable.snapshot.test.js @@ -1,3 +1,5 @@ +/* @flow */ + import React from "react"; import TestRenderer from "react-test-renderer"; diff --git a/chapter09/src/regionsApp/world.actions.test.js b/chapter09/src/regionsApp/world.actions.test.js index 14132b9..202b4fe 100644 --- a/chapter09/src/regionsApp/world.actions.test.js +++ b/chapter09/src/regionsApp/world.actions.test.js @@ -1,6 +1,7 @@ /* @flow */ import configureMockStore from "redux-mock-store"; + import thunk from "redux-thunk"; import { diff --git a/chapter09/src/regionsApp/world.reducer.test.js b/chapter09/src/regionsApp/world.reducer.test.js index 7fa03e2..d262c04 100644 --- a/chapter09/src/regionsApp/world.reducer.test.js +++ b/chapter09/src/regionsApp/world.reducer.test.js @@ -1,6 +1,7 @@ /* @flow */ import { reducer } from "./world.reducer.js"; + import { countriesRequest, regionsSuccess } from "./world.actions.js"; describe("The countries and regions reducer", () => {