Skip to content

Commit 9bb7eb9

Browse files
authored
test: private-key with escaped newlines
1 parent f4f660f commit 9bb7eb9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { test, DEFAULT_ENV } from "./main.js";
2+
3+
// Verify `main` successfully obtains a token when the `owner` input is not set, but the `repositories` input is set.
4+
await test(() => {
5+
process.env['INPUT_PRIVATE-KEY'] = DEFAULT_ENV.PRIVATE_KEY.replace(/\n/g, '\\n')
6+
});

0 commit comments

Comments
 (0)