Skip to content

Commit

Permalink
Minor Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
roryhardy committed Jan 25, 2018
1 parent ff8ffbc commit 1809d84
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/lib.spec.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/* eslint-env mocha */

import chai from 'chai';

import {
computeCenteredPosition,
computeLeftPosition,
computeTopPosition,
} from '../src/lib';

const chai = require('chai');

const { expect } = chai;

describe('#computeCenteredPosition', () => {
describe('when inverse is false', () => {
context('when inverse is false', () => {
it('returns NaN with all 0 input', () => {
// eslint-disable-next-line no-unused-expressions
expect(computeCenteredPosition(0, 0, 0, 0)).to.be.NaN;
Expand All @@ -30,7 +30,7 @@ describe('#computeCenteredPosition', () => {
});
});

describe('when inverse is true', () => {
context('when inverse is true', () => {
it('returns NaN with all 0 input', () => {
// eslint-disable-next-line no-unused-expressions
expect(computeCenteredPosition(0, 0, 0, 0, true)).to.be.NaN;
Expand Down

0 comments on commit 1809d84

Please sign in to comment.