diff --git a/src/index.js b/src/index.js index 6fb0d5b..a453e68 100644 --- a/src/index.js +++ b/src/index.js @@ -48,7 +48,7 @@ const linkUri = `${version}/link` const jobUri = `${version}/job` const submissionsUri = `${version}/submissions` -export class Hasoop { +export default class Hasoop { constructor (config) { this.userName = config.userName this.host = config.host diff --git a/test/index.js b/test/index.js index e4748cf..d08e769 100644 --- a/test/index.js +++ b/test/index.js @@ -1,6 +1,6 @@ /* eslint-env mocha */ -import { Hasoop, version, linkType } from '../src/index' +import Hasoop, { version, linkType } from '../src/index' const config = { 'userName': 'Developer',