Skip to content

Commit

Permalink
test: improve imports
Browse files Browse the repository at this point in the history
  • Loading branch information
lykmapipo committed Aug 15, 2019
1 parent 830073f commit b6836b7
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 32 deletions.
Empty file added test/fixtures/.gitkeep
Empty file.
4 changes: 1 addition & 3 deletions test/integration/http.spec.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* dependencies */
import request from 'supertest';
import { expect } from 'chai';
import { app, mount } from '@lykmapipo/express-common';
import { clear } from '@lykmapipo/mongoose-test-helpers';
import { clear, expect } from '@lykmapipo/mongoose-test-helpers';
import { Priority, apiVersion, router } from '../../src/index';

describe('Priority', () => {
Expand Down
4 changes: 1 addition & 3 deletions test/integration/priority.common.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* dependencies */
import { expect } from 'chai';
import { Jurisdiction } from '@codetanzania/majifix-jurisdiction';
import { clear, create } from '@lykmapipo/mongoose-test-helpers';
import { clear, create, expect } from '@lykmapipo/mongoose-test-helpers';
import { Priority } from '../../src/index';

describe('Priority', () => {
Expand Down
4 changes: 1 addition & 3 deletions test/integration/priority.delete.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* dependencies */
import { expect } from 'chai';
import { Jurisdiction } from '@codetanzania/majifix-jurisdiction';
import { clear, create } from '@lykmapipo/mongoose-test-helpers';
import { clear, create, expect } from '@lykmapipo/mongoose-test-helpers';
import { Priority } from '../../src/index';

describe('Priority', () => {
Expand Down
4 changes: 1 addition & 3 deletions test/integration/priority.get.spec.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* dependencies */
import _ from 'lodash';
import { expect } from 'chai';
import { Jurisdiction } from '@codetanzania/majifix-jurisdiction';
import { clear, create } from '@lykmapipo/mongoose-test-helpers';
import { clear, create, expect } from '@lykmapipo/mongoose-test-helpers';
import { Priority } from '../../src/index';

describe('Priority', () => {
Expand Down
4 changes: 1 addition & 3 deletions test/integration/priority.getById.spec.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* dependencies */
import _ from 'lodash';
import { expect } from 'chai';
import { Jurisdiction } from '@codetanzania/majifix-jurisdiction';
import { clear, create } from '@lykmapipo/mongoose-test-helpers';
import { clear, create, expect } from '@lykmapipo/mongoose-test-helpers';
import { Priority } from '../../src/index';

describe('Priority', () => {
Expand Down
4 changes: 1 addition & 3 deletions test/integration/priority.patch.spec.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* dependencies */
import _ from 'lodash';
import { expect } from 'chai';
import { Jurisdiction } from '@codetanzania/majifix-jurisdiction';
import { clear, create } from '@lykmapipo/mongoose-test-helpers';
import { clear, create, expect } from '@lykmapipo/mongoose-test-helpers';
import { Priority } from '../../src/index';

describe('Priority', () => {
Expand Down
4 changes: 1 addition & 3 deletions test/integration/priority.post.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* dependencies */
import { expect } from 'chai';
import { Jurisdiction } from '@codetanzania/majifix-jurisdiction';
import { clear, create } from '@lykmapipo/mongoose-test-helpers';
import { clear, create, expect } from '@lykmapipo/mongoose-test-helpers';
import { Priority } from '../../src/index';

describe('Priority', () => {
Expand Down
4 changes: 1 addition & 3 deletions test/integration/priority.put.spec.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* dependencies */
import _ from 'lodash';
import { expect } from 'chai';
import { Jurisdiction } from '@codetanzania/majifix-jurisdiction';
import { clear, create } from '@lykmapipo/mongoose-test-helpers';
import { clear, create, expect } from '@lykmapipo/mongoose-test-helpers';
import { Priority } from '../../src/index';

describe('Priority', () => {
Expand Down
5 changes: 1 addition & 4 deletions test/unit/priority.model.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/* dependencies */
import { expect } from 'chai';

/* declaration */
import { expect } from '@lykmapipo/mongoose-test-helpers';
import Priority from '../../src/priority.model';

describe('Priority', () => {
Expand Down
5 changes: 1 addition & 4 deletions test/unit/priority.schema.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/* dependencies */
import { expect } from 'chai';

/* declarations */
import { expect } from '@lykmapipo/mongoose-test-helpers';
import Priority from '../../src/priority.model';

describe('Priority', () => {
Expand Down

0 comments on commit b6836b7

Please sign in to comment.