Jack Maclennan Portfolio
    Preparing search index...

    Variable cardListTestConst

    cardListTest: TestType<
        PlaywrightTestArgs & PlaywrightTestOptions & { cardList: CardList },
        PlaywrightWorkerArgs & PlaywrightWorkerOptions,
    > = ...

    Test environment for CardList component.

    const test = mergeTests(experienceTest, navBarTest, cardListTest);
    

    Provides a CardList to be used in tests.

    export const cardListTest = test.extend<{ cardList: CardList }>({
    cardList: async ({ page }, use) => {
    const cardList = new CardList(page);
    // eslint-disable-next-line react-hooks/rules-of-hooks
    await use(cardList);
    }
    });