import fs from 'fs' ; import path from 'path' ; export const writeFixture = ( filename , object ) => { fs . writeFileSync ( path . resolve ( __dirname , '../../../test-vectors/src/wallet/' , filename ) , JSON . stringify ( object , null , 2 ) ) ; } ;