Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis committed Feb 24, 2023
1 parent 3e95f31 commit 602122b
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/webapp/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = defineConfig({
},

component: {
specPattern: ["pages/**/*.spec.tsx", "pages/*.spec.tsx"],
specPattern: ["pages/__tests__/*.spec.tsx"],
setupNodeEvents(on, config) {
return currents(on, config);
},
Expand Down
2 changes: 2 additions & 0 deletions examples/webapp/next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = {
reactStrictMode: true,
pageExtensions: ["page.tsx", "page.ts", "page.jsx", "page.js"],
// exclude: ["*.spec.tsx"],
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import About from "./about";
import About from "../about.page";

describe("<About />", () => {
it("renders", () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import About from "./about";
import About from "../about.page";

describe("<About />", () => {
it("renders", () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Another from "./another";
import Another from "../another.page";

describe("<Another />", () => {
it("renders", () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import Home from "./index";
import Home from "../index.page";

describe("<Home />", () => {
it("renders", () => {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion examples/webapp/src/index.ts

This file was deleted.

0 comments on commit 602122b

Please sign in to comment.