Skip to content

Commit 28e7889

Browse files
test: RemoteManager
1 parent db067ba commit 28e7889

File tree

2 files changed

+166
-97
lines changed

2 files changed

+166
-97
lines changed

tests/mocks/inquirerMock.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,7 @@ export function mockInquirer(answers: Record<string, any>) {
4949
// ignore - tests will fail later if mock not present
5050
}
5151
}
52+
53+
export function clearInquirerQueue() {
54+
_answersQueue.length = 0;
55+
}

0 commit comments

Comments
 (0)