Browse Source

Change test script

Ben Hsieh 8 years ago
parent
commit
4c29a21c8b
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      test.sh

+ 1
- 0
test.sh View File

@@ -33,6 +33,7 @@ if [ "$#" -eq 1 ]; then
33 33
 fi
34 34
 # copy js files to test app folder
35 35
 cp -R test/ "${TEST_APP_PATH}/"
36
+node -e "var fs=require('fs'); var pkg = JSON.parse(fs.readFileSync('./RNFetchBlobTest/package.json')); pkg.rnpm = {assets : ['assets']}; fs.writeFileSync('./RNFetchBlobTest/package.json', JSON.stringify(pkg, null, 4));"
36 37
 
37 38
 # install module
38 39
 cd "${TEST_APP_PATH}"