diff --git a/src/Client.js b/src/Client.js index bbb6634..29fd7dc 100644 --- a/src/Client.js +++ b/src/Client.js @@ -1,5 +1,5 @@ import Particle from './Particle'; -import Library from './Library'; +import Library from './models/Library'; export default class Client { constructor({ auth, api = new Particle() }) { diff --git a/src/Library.js b/src/models/Library.js similarity index 100% rename from src/Library.js rename to src/models/Library.js diff --git a/test/Client.spec.js b/test/Client.spec.js index 689e248..979d89f 100644 --- a/test/Client.spec.js +++ b/test/Client.spec.js @@ -2,7 +2,7 @@ import {expect, sinon} from './test-setup'; import Client from '../src/Client'; import * as fixtures from './fixtures'; -import Library from '../src/Library'; +import Library from '../src/models/Library'; let api; const token = 'tok'; diff --git a/test/Library.spec.js b/test/models/Library.spec.js similarity index 94% rename from test/Library.spec.js rename to test/models/Library.spec.js index 628f0f5..d6931f3 100644 --- a/test/Library.spec.js +++ b/test/models/Library.spec.js @@ -1,5 +1,5 @@ import {expect} from './test-setup'; -import Library from '../src/Library'; +import Library from '../../src/models/Library'; let client = {}; describe('Library', () => {