Skip to content

Commit b66e0f6

Browse files
authored
test: run in no-sandbox mode (#96)
1 parent a2e3107 commit b66e0f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Markdown2Pdf.Tests/Tests/Utils.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ internal static async Task<string> RenderHtmlAsync(string htmlFilePath) {
2626

2727
private static async Task<IBrowser> _CreateBrowserAsync() {
2828
var launchOptions = new LaunchOptions {
29-
Headless = true
29+
Headless = true,
30+
Args = ["--no-sandbox"],
3031
};
3132

3233
using var browserFetcher = new BrowserFetcher();

0 commit comments

Comments
 (0)