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

Adding functions in testing using jest #34

Merged
merged 1 commit into from
Nov 21, 2021

Conversation

japneetsingh035
Copy link
Contributor

This testing function would allow to check if css stylesheet is passed.

test("should be able to pass specified style", () => {
        expect(
            checkGenPageArgsWithCSS(
                data,
                data.texts,
                data.title,
                data.stylesheet,
            ),
        ).argv_s = `<link rel="stylesheet" type="text/css" href="please_add_your_css_path" />`;
    });

@japneetsingh035 japneetsingh035 marked this pull request as ready for review November 20, 2021 04:26
@sirinoks sirinoks merged commit 6168b86 into sirinoks:main Nov 21, 2021
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

Successfully merging this pull request may close these issues.

2 participants