Skip to content

Commit

Permalink
optimized imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Seanitzel committed Apr 3, 2021
1 parent 6505a69 commit 8b5b8dd
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 17 deletions.
1 change: 0 additions & 1 deletion src/test/notation/score.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Measure, Score } from '../..'
import { InvalidInput } from '../../Exceptions'

describe('Score', () => {
let score
Expand Down
2 changes: 1 addition & 1 deletion src/test/theory/chord.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PitchClass, Chord } from '../..'
import { Chord, PitchClass } from '../..'
import { InvalidInput } from '../../Exceptions'

const c = new PitchClass('c')
Expand Down
3 changes: 1 addition & 2 deletions src/test/theory/guitar-chord-pattern.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { PitchClass, GuitarChordPattern } from '../..'
import { InvalidInput } from '../../Exceptions'
import { GuitarChordPattern, PitchClass } from '../..'

describe('Guitar Chord Pattern', () => {
let c, g, gcp
Expand Down
3 changes: 1 addition & 2 deletions src/test/theory/musical-pattern.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { PitchClass, MusicalPattern } from '../../'
import { InvalidInput } from 'src/Exceptions'
import { MusicalPattern, PitchClass } from '../../'

describe('Musical Pattern', () => {
describe('#constructor', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/test/theory/scale.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Scale, PitchClass, Chord, spellScale } from '../../'
import { Chord, PitchClass, Scale } from '../../'

describe('Scale', () => {

Expand Down
3 changes: 1 addition & 2 deletions src/test/utilities/general-functions.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {
firstToUpper, twoDigitFormat, switchMembers, rearrangeArray, mapString, fitArrayToSize,
longestArray
firstToUpper, fitArrayToSize, longestArray, mapString, rearrangeArray, switchMembers, twoDigitFormat
} from '../../utilities'

describe('general-functions', () => {
Expand Down
8 changes: 3 additions & 5 deletions src/test/utilities/music-functions.spec.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import {
getPitchClassesInterval,
notesInRange,
noteToObject,
extractOctave, extractPitchClass, pitchClassesToPianoChordNotes, pitchClassesToNotes, transposeNote, intervalsToNotes
extractOctave, extractPitchClass, getPitchClassesInterval, intervalsToNotes, notesInRange, noteToObject,
pitchClassesToNotes, pitchClassesToPianoChordNotes, transposeNote
} from '../../utilities'
import { PitchClass, Chord } from '../../theory'
import { Chord, PitchClass } from '../../theory'

describe('Music addon functions', () => {
describe('#getPitchClassesInterval', () => {
Expand Down
1 change: 0 additions & 1 deletion src/test/utilities/scientific-functions.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as funcs from '../../utilities/ScientificFunctions'
import { Note } from '../../'

describe('Scientific functions', () => {
it('#freqFromPitch', () => {
Expand Down
4 changes: 2 additions & 2 deletions src/test/validation/validators.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Note, PitchClass, validateDuration, validateInstance, validateRawNote } from '../../'
import { InvalidInput } from '../../Exceptions'
import { PitchClass, validateDuration, validateInstance, validateRawNote } from '../../'
import { InvalidInput } from '../../Exceptions'

describe('#Validators', () => {
describe('#validateInstance', () => {
Expand Down

0 comments on commit 8b5b8dd

Please sign in to comment.