Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Fix import style in factories
Browse files Browse the repository at this point in the history
  • Loading branch information
voidxnull committed Dec 3, 2016
1 parent f8e96df commit d460c1e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test-helpers/factories/geotag.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Factory } from 'rosie';
const faker = require('faker');
import faker from 'faker';
import slug from 'slug';

export default new Factory()
Expand Down
2 changes: 1 addition & 1 deletion test-helpers/factories/hashtag.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Factory } from 'rosie';
const faker = require('faker');
import faker from 'faker';


export default new Factory()
Expand Down
2 changes: 1 addition & 1 deletion test-helpers/factories/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
import uuid from 'uuid';
import { Factory } from 'rosie';
const faker = require('faker');
import faker from 'faker';

export default new Factory()
.attr('id', () => uuid.v4())
Expand Down
2 changes: 1 addition & 1 deletion test-helpers/factories/school.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Factory } from 'rosie';
const faker = require('faker');
import faker from 'faker';
import slug from 'slug';

export default new Factory()
Expand Down
2 changes: 1 addition & 1 deletion test-helpers/factories/user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import uuid from 'uuid';
import bcrypt from 'bcrypt';
import { Factory } from 'rosie';
const faker = require('faker');
import faker from 'faker';

import { bookshelf } from '../db';

Expand Down

0 comments on commit d460c1e

Please sign in to comment.