Skip to content

Commit

Permalink
Merge pull request #454 from marp-team/test-type-flag
Browse files Browse the repository at this point in the history
Add `--test-type` flag to the default Puppeteer launch arguments
  • Loading branch information
yhatt authored Jun 1, 2022
2 parents 00f9468 + 5dad74d commit bbdf173
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

### Fixed

- Preview mode has unexpected message in the information bar "You are using an unsupported command-line flag" ([#453](https://github.com/marp-team/marp-cli/issues/453), [#454](https://github.com/marp-team/marp-cli/pull/454))

## v2.0.0 - 2022-05-24

### ⚡️ Breaking
Expand Down
2 changes: 1 addition & 1 deletion src/utils/puppeteer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const generatePuppeteerDataDirPath = async (
}

export const generatePuppeteerLaunchArgs = () => {
const args = new Set<string>(['--export-tagged-pdf'])
const args = new Set<string>(['--export-tagged-pdf', '--test-type'])

// Docker environment and WSL environment need to disable sandbox. :(
if (isDocker() || isWSL()) args.add('--no-sandbox')
Expand Down

0 comments on commit bbdf173

Please sign in to comment.