diff --git a/src/list/prompt.ts b/src/list/prompt.ts index 251fb341bcf..cab8fce7f64 100644 --- a/src/list/prompt.ts +++ b/src/list/prompt.ts @@ -195,6 +195,9 @@ export default class Prompt { } public async paste(): Promise { + if (global.hasOwnProperty('__TEST__')) { + return await this.eval('@*') + } let text = await clipboardy.read() text = text.replace(/\n/g, '') if (!text) return