Skip to content

Commit 8ae0cde

Browse files
committed
fix failing test
1 parent 57b6f9f commit 8ae0cde

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/audio-in/client.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ const testProperties = new GetPropertiesResponse({
2929

3030
describe('AudioInClient tests', () => {
3131
beforeEach(() => {
32+
testAudioStream =
33+
createWritableIterable<PartialMessage<GetAudioResponse>>();
34+
3235
const mockTransport = createRouterTransport(({ service }) => {
3336
service(AudioInService, {
3437
getAudio: () => {
@@ -49,8 +52,6 @@ describe('AudioInClient tests', () => {
4952

5053
afterEach(() => {
5154
vi.clearAllMocks();
52-
testAudioStream =
53-
createWritableIterable<PartialMessage<GetAudioResponse>>();
5455
});
5556

5657
describe('getAudio tests', () => {

0 commit comments

Comments
 (0)