tests/performance/run.js
/**
 * Link the last published RxPlayer version to the performance tests, so
 * performance of new code can be compared to it.
 * @returns {Promise}
 */
Link the last published RxPlayer version to the performance tests, so
performance of new code can be compared to it.
@returns {Promise}
Link the last published RxPlayer version to the performance tests so performance of new code can be compared to it . @returns { Promise }
async function linkLastRxPlayer() {
  await removeFile(path.join(__dirname, "node_modules"));
  await spawnProc("npm install",
                  ["--prefix", __dirname, "rx-player"],
                  (code) => new Error(`npm install exited with code ${code}`)).promise;
}
async function linkLastRxPlayer ( ) { await removeFile ( path . join ( __dirname , "node_modules" ) ) ; await spawnProc ( "npm install" , [ "--prefix" , __dirname , "rx-player" ] , ( code ) => new Error ( ` ${ code } ` ) ) . promise ; }
Link the last published RxPlayer version to the performance tests, so
 performance of new code can be compared to it.
Link the last published RxPlayer version to the performance tests so performance of new code can be compared to it .