Skip to content

Need to pass '--allow-file-access-from-files' down to puppeteer launch args. #298

Closed
@g2nconnell

Description

@g2nconnell

Running jasmine as part of our grunt build, headless chrome requires the argument "--allow-file-access-from-files". This is because require tries to fetch dependencies using "file://" protocol.
Need to be able to specify this option in the grunt file and have it passed to puppeteer's launch options.

I believe this part of the reason for other user's issue of specs not running.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions