diff --git a/src/VueFileHandler.ts b/src/VueFileHandler.ts index 350e2a0..31afe53 100644 --- a/src/VueFileHandler.ts +++ b/src/VueFileHandler.ts @@ -125,5 +125,3 @@ export class VueFileHandler { fs.writeFileSync(newFile, newFileContent!); } } - -export default VueFileHandler; diff --git a/src/graphql/GraphqlFileHandler.ts b/src/graphql/GraphqlFileHandler.ts index 9242052..15d3f58 100644 --- a/src/graphql/GraphqlFileHandler.ts +++ b/src/graphql/GraphqlFileHandler.ts @@ -112,5 +112,3 @@ export class GraphqlFileHandler { fs.writeFileSync(newFile, newFileContent!); } } - -export default GraphqlFileHandler; diff --git a/test/VueFileHandler.test.ts b/test/VueFileHandler.test.ts index aca73f3..83b2086 100644 --- a/test/VueFileHandler.test.ts +++ b/test/VueFileHandler.test.ts @@ -1,7 +1,7 @@ import fs from 'fs'; import path from 'path'; import temp from 'temp'; -import VueFileHandler from '../src/VueFileHandler'; +import { VueFileHandler } from '../src/VueFileHandler'; temp.track(); // Automatically track and clean up files at exit diff --git a/test/graphql/GraphqlFileHandler.test.ts b/test/graphql/GraphqlFileHandler.test.ts index 935deea..e26a997 100644 --- a/test/graphql/GraphqlFileHandler.test.ts +++ b/test/graphql/GraphqlFileHandler.test.ts @@ -1,7 +1,7 @@ import fs from 'fs'; import path from 'path'; import temp from 'temp'; -import GraphqlFileHandler from '../../src/graphql/GraphqlFileHandler'; +import { GraphqlFileHandler } from '../../src/graphql/GraphqlFileHandler'; temp.track(); // Automatically track and clean up files at exit