Skip to content

Commit

Permalink
Fix ts build
Browse files Browse the repository at this point in the history
  • Loading branch information
bananu7 committed Apr 4, 2024
1 parent 142040f commit 556e2bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/audio/util.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { expect, test } from 'vitest'
import { Decibels, faderPosToDb } from '../audio/util'
import { faderPosToDb } from '../audio/util'

const faderMidPoint = 80;

test('fader pos is 0dB at midpoint', () => {
expect(faderPosToDb(80)).toBe(0);
expect(faderPosToDb(faderMidPoint)).toBe(0);
})

test('fader pos is +10dB at max', () => {
Expand Down

0 comments on commit 556e2bb

Please sign in to comment.