File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
e2e/ngx-deploy-npm-e2e/integration Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -4,24 +4,26 @@ import {
44 installDependencies ,
55 generateLib ,
66 installNgxDeployNPMProject ,
7+ currentNrwlVersion ,
78} from '../utils' ;
89
910describe ( 'React Native' , ( ) => {
1011 initNgxDeployNPMProject ( ) ;
1112
1213 const libName = 'react-native-lib' ;
1314 const nxPlugin = '@nrwl/react-native' ;
14-
15- installDependencies ( nxPlugin ) ;
16-
1715 const uniqLibName = uniq ( libName ) ;
1816
19- generateLib ( nxPlugin , uniqLibName ) ;
17+ installDependencies ( nxPlugin ) ;
2018
2119 beforeEach ( ( ) => {
2220 runNxCommand ( `generate ${ nxPlugin } :init` ) ;
23- runCommand ( 'yarn add -D @babel/preset-react @nrwl/web' ) ;
24- } , 120000 ) ;
21+ runCommand (
22+ `yarn add -D @babel/preset-react @nrwl/web@${ currentNrwlVersion } `
23+ ) ;
24+ } ) ;
25+
26+ generateLib ( nxPlugin , uniqLibName ) ;
2527
2628 beforeEach ( ( ) => {
2729 runNxCommand (
You can’t perform that action at this time.
0 commit comments