Skip to content

Commit

Permalink
test: await probe
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed Aug 23, 2023
1 parent ed309d9 commit bd0422a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __test__/index.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { readFile } from 'fs/promises';

test('should probe mp3 buffer', async (t) => {
const chunk = await readFile('./__test__/data/head.mp3');
const probeResult = probe(chunk);
const probeResult = await probe(chunk);

t.deepEqual(probeResult, {
channels: 2,
Expand Down

0 comments on commit bd0422a

Please sign in to comment.