license import * as fs from 'fs' ; import * as path from 'path' ; const testsFilePath = path . resolve ( __dirname , '../node_modules/@tensorflow/tfjs-core/dist/tests.js' ) ; const fileContents = fs . readFileSync ( testsFilePath , 'utf-8' ) ; let newContents = fileContents . replace ( 'import \'./worker_node_test\';' , '' ) ; newContents = newContents . replace ( 'import \'./version_test\';' , '' ) ; fs . writeFileSync ( testsFilePath , newContents ) ;