Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File options with extensions not taken into account #456

Open
ilandikov opened this issue Feb 18, 2025 · 0 comments
Open

File options with extensions not taken into account #456

ilandikov opened this issue Feb 18, 2025 · 0 comments

Comments

@ilandikov
Copy link
Contributor

I tried calling verify() with the code below and approvals 7.2.0

        const { container } = render(componentWithStoreProvider(<DeviceLocation />));
        const htmlOutput = await prettifyHTML(container.innerHTML);

        // Important below
        const options = new Options().forFile().withFileExtention('.html');
        verify(__dirname, 'my_test', htmlOutput, options);

The output is well generated expect the file extention that is .txt, looks like the option is not taken into account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant