fix shoot

This commit is contained in:
Felix Roos 2022-05-01 22:47:58 +02:00
parent 5f26773c61
commit c939a8a0c1
3 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ import { strict as assert } from 'assert';
describe('tunes', () => {
it('renders tunes correctly', async () => {
async function testTune(key) {
const haps = await queryCode(tunes[key], 1);
const haps = await queryCode(tunes[key]);
assert.deepStrictEqual(haps, snaps[key]);
}
await Promise.all(Object.keys(tunes).map(testTune));