import fs from 'fs' ; import path from 'path' ; import { defineInlineTest } from 'jscodeshift/src/testUtils' ; import transform from './container-borders' ; const read = ( fileName ) => { return fs . readFileSync ( path . join ( __dirname , fileName ) , 'utf8' ) . toString ( ) ; } ; describe ( 'container-borders' , ( ) => { defineInlineTest ( transform , { } , read ( './__testfixtures__/actual.tsx' ) , read ( './__testfixtures__/expected.tsx' ) ) ; } ) ;