Skip to content

Commit

Permalink
ESLint error in tests is fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezze committed Jan 21, 2020
1 parent 5e50d4e commit 53fc454
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/helpers.js → test/compareVectors.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function compareVectors(vector1, vector2, numDigits) {
export default function compareVectors(vector1, vector2, numDigits) {
if (!numDigits) {
expect(vector1.x).toEqual(vector2.x);
expect(vector1.y).toEqual(vector2.y);
Expand Down
2 changes: 1 addition & 1 deletion test/ext.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { compareVectors } from './helpers';
import compareVectors from './compareVectors';

import {
jday,
Expand Down
2 changes: 1 addition & 1 deletion test/propagation/sgp4.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import '../ext.test';

import { compareVectors } from '../helpers';
import compareVectors from '../compareVectors';

import twoline2satrec from '../../src/io';
import sgp4 from '../../src/propagation/sgp4';
Expand Down

0 comments on commit 53fc454

Please sign in to comment.