Skip to content

Commit f7e7e5e

Browse files
committed
add tsconfig
1 parent 432ff29 commit f7e7e5e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

cypress/e2e/faq.spec.cy.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ describe('faq', () => {
88

99
it('reveals text after clicking "SHOW"', () => {
1010
cy.findByTestId(ACCORDION_CONTENT).should('not.exist');
11-
// @ts-expect-error - This seems to be incorrect 🤷🏼‍♂️
1211
cy.findAllByTestId(ACCORDION_TOGGLE_BUTTON).then(([firstButton]) => firstButton.click());
1312
cy.findAllByTestId(ACCORDION_CONTENT).should('be.visible');
1413
});

cypress/e2e/hashlink.spec.cy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ describe('Hash Links', () => {
66

77
cy.findAllByTestId(HERO_BANNER_H1).should('be.visible');
88

9-
// @ts-expect-error - This seems to be incorrect 🤷🏼‍♂️
109
cy.findAllByTestId('Hash Link').each(([link]) => {
10+
// @ts-expect-error - This seems to be incorrect 🤷🏼‍♂️
1111
const { hash } = link;
1212

1313
cy.get(hash).scrollIntoView();
@@ -39,8 +39,8 @@ describe('Hash Links', () => {
3939
cy.visitAndWaitFor(path);
4040
cy.viewport('iphone-6');
4141

42-
// @ts-expect-error - This seems to be incorrect 🤷🏼‍♂️
4342
cy.findAllByTestId('Hash Link').each(([link]) => {
43+
// @ts-expect-error - This seems to be incorrect 🤷🏼‍♂️
4444
const { hash } = link;
4545

4646
cy.get(hash).should('not.be.visible');

cypress/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
4-
"baseUrl": "./",
4+
"baseUrl": "../",
55
"types": ["cypress", "node", "@testing-library/cypress"],
66
"target": "esnext",
77
"lib": ["dom", "dom.iterable", "esnext"]

0 commit comments

Comments
 (0)