Fix typo (shoud -> should)
Summary: Closes https://github.com/facebook/react-native/pull/7928 Differential Revision: D3390537 fbshipit-source-id: 97ce2331d0942ffe21078b3aec27daed20cd8af5
This commit is contained in:
parent
b91bf8eeac
commit
f49f28ce15
|
@ -149,7 +149,7 @@ class RouteStack {
|
|||
* excluding the last index in this stack.
|
||||
*/
|
||||
pop(): RouteStack {
|
||||
invariant(this._routeNodes.size > 1, 'shoud not pop routeNodes stack to empty');
|
||||
invariant(this._routeNodes.size > 1, 'should not pop routeNodes stack to empty');
|
||||
|
||||
// When popping, removes the rest of the routes past the current index.
|
||||
var routeNodes = this._routeNodes.slice(0, this._index);
|
||||
|
|
|
@ -111,7 +111,7 @@ describe('getCommands', () => {
|
|||
|
||||
afterEach(() => revert());
|
||||
|
||||
it('shoud load when installed locally', () => {
|
||||
it('should load when installed locally', () => {
|
||||
revert = getCommands.__set__({
|
||||
__dirname: path.join(LOCAL_NODE_MODULES, 'rnpm/src'),
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue