-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
979ba6c
commit b99f5a8
Showing
85 changed files
with
1,834 additions
and
1,745 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": ["cypress-testing"] | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": ["cypress-testing"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"editor.defaultFormatter": "biomejs.biome", | ||
|
||
"editor.formatOnSave": true, | ||
"prettier.enable": false, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
}, | ||
"[json]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
import { defineConfig } from "cypress"; | ||
export default defineConfig({ | ||
video: false, | ||
component: { | ||
viewportWidth: 1000, | ||
viewportHeight: 500, | ||
devServer: { | ||
framework: "react", | ||
bundler: "vite", | ||
viteConfig: { | ||
server: { fs: { strict: false } }, | ||
resolve:{ | ||
alias:{ | ||
'@' : "../../node_modules/react-trello-ts/src" | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
experimentalSourceRewriting: true, | ||
video: false, | ||
component: { | ||
viewportWidth: 1000, | ||
viewportHeight: 500, | ||
devServer: { | ||
framework: "react", | ||
bundler: "vite", | ||
viteConfig: { | ||
server: { fs: { strict: false } }, | ||
resolve: { | ||
alias: { | ||
"@": "../../node_modules/react-trello-ts/src", | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
experimentalSourceRewriting: true, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 20 additions & 23 deletions
43
apps/cypress-testing/cypress/component/ComponentName.cy.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,26 @@ | ||
import Board from "react-trello-ts"; | ||
|
||
describe("ComponentName.cy.ts", () => { | ||
it("renders cards", () => { | ||
cy.fixture("data.json").then((data) => { | ||
cy.mount(<Board data={data} />); | ||
cy.get(".horizontal") | ||
.findAllByText("Planned Tasks") | ||
.should("exist") | ||
.should("have.length", 1); | ||
cy.findCardByTitle("Buy milk"); | ||
cy.findCardByTitle("Dispose Garbage"); | ||
cy.findCardByTitle("Write Blog"); | ||
cy.findCardByTitle("Pay Rent"); | ||
cy.findCardByTitle("Clean House"); | ||
cy.findCardByTitle("Practice Meditation"); | ||
cy.findCardByTitle("Maintain Daily Journal"); | ||
cy.findCardByTitle("Morning Jog"); | ||
cy.findCardByTitle("Go Trekking"); | ||
cy.findCardByTitle("Go Jogging"); | ||
cy.findCardByTitle("Go Cycling"); | ||
}); | ||
}); | ||
|
||
|
||
|
||
it("renders cards", () => { | ||
cy.fixture("data.json").then((data) => { | ||
cy.mount(<Board data={data} />); | ||
cy.get(".horizontal") | ||
.findAllByText("Planned Tasks") | ||
.should("exist") | ||
.should("have.length", 1); | ||
cy.findCardByTitle("Buy milk"); | ||
cy.findCardByTitle("Dispose Garbage"); | ||
cy.findCardByTitle("Write Blog"); | ||
cy.findCardByTitle("Pay Rent"); | ||
cy.findCardByTitle("Clean House"); | ||
cy.findCardByTitle("Practice Meditation"); | ||
cy.findCardByTitle("Maintain Daily Journal"); | ||
cy.findCardByTitle("Morning Jog"); | ||
cy.findCardByTitle("Go Trekking"); | ||
cy.findCardByTitle("Go Jogging"); | ||
cy.findCardByTitle("Go Cycling"); | ||
}); | ||
}); | ||
}); | ||
|
||
export {}; |
Oops, something went wrong.
b99f5a8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-trello-ts – ./
react-trello-ts-git-main-kaispencer.vercel.app
react-trello-ts-kaispencer.vercel.app
react-trello-ts.vercel.app