Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rvilarl committed Apr 5, 2021
1 parent 9e98425 commit e41aac6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions tests/fraction_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
* Copyright Mohit Muthanna 2010 <mohit@muthanna.com>
*/

import { Fraction } from '../src/fraction';

declare const QUnit: any;
declare const ok: any;
declare const test: any;
Expand All @@ -13,8 +15,6 @@ declare const notStrictEqual: any;
declare const deepEqual: any;
declare const notDeepEqual: any;

import { Fraction } from '../src/fraction';

export default (function () {
const FractionTests = {
Start: function () {
Expand Down
10 changes: 5 additions & 5 deletions tests/tuning_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
* Copyright Mohit Muthanna 2010 <mohit@muthanna.com>
*/

import { Tuning } from '../src/tuning';

declare const QUnit: any;
declare const test: any;
declare const equal: any;
declare const expect: any;

import { Tuning } from '../src/tuning';

export default (function () {
const TuningTests = {
Start: function () {
Expand Down Expand Up @@ -63,15 +63,15 @@ export default (function () {
banjo: function () {
expect(7);

let tuning = new Tuning();
const tuning = new Tuning();
tuning.setTuning('standardBanjo');
TuningTests.checkStandardBanjo(tuning);
},

standard: function () {
expect(16);

let tuning = new Tuning();
const tuning = new Tuning();
TuningTests.checkStandard(tuning);

// Test named tuning
Expand All @@ -81,7 +81,7 @@ export default (function () {

noteForFret: function () {
expect(8);
let tuning = new Tuning('E/5,B/4,G/4,D/4,A/3,E/3');
const tuning = new Tuning('E/5,B/4,G/4,D/4,A/3,E/3');
try {
tuning.getNoteForFret(-1, 1);
} catch (e) {
Expand Down

0 comments on commit e41aac6

Please sign in to comment.