Skip to content

Commit

Permalink
./src/createNavigationContainer -> @react-navigation/native/src/creat…
Browse files Browse the repository at this point in the history
…eAppContainer on NavigationTestUtils.js (react-navigation#5266)

* ./src/createNavigationContainer deprecated , so change.

* changelog
  • Loading branch information
watanabeyu authored and brentvatne committed Nov 26, 2018
1 parent 087831a commit 0641bdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

- fix NavigationTestUtils.js deprecated file import.

- Update `getParam` flow typings to check `key` and `fallback` arguments, as well as return the correct type automatically.

## [2.17.0] - [2018-09-25](https://github.com/react-navigation/react-navigation/releases/tag/2.17.0)
Expand Down
2 changes: 1 addition & 1 deletion NavigationTestUtils.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { _TESTING_ONLY_reset_container_count } from './src/createNavigationContainer';
import { _TESTING_ONLY_reset_container_count } from '@react-navigation/native/src/createAppContainer';

export default {
resetInternalState: () => {
Expand Down

0 comments on commit 0641bdd

Please sign in to comment.