Skip to content

Commit

Permalink
chore: test
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielMatosBoubee committed Nov 29, 2024
1 parent ae0d104 commit 4f27aa5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { defineConfig } = require("cypress");
import { defineConfig } from "cypress";

module.exports = defineConfig({
export default defineConfig({
e2e: {
setupNodeEvents(on, config) {
// implement node event listeners here
Expand Down
2 changes: 2 additions & 0 deletions cypress/e2e/buy-product.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ describe("My First Test", () => {
cy.get('input[data-test-name="cart-json"]').invoke("val").should(
"not.be.empty",
);

cy.visit("http://localhost:8000/checkout");
});
});
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"component": "deno eval 'import \"deco/scripts/component.ts\"'",
"release": "deno eval 'import \"deco/scripts/release.ts\"'",
"update": "deno run -Ar https://deco.cx/update",
"check": "deno fmt && deno lint && deno check dev.ts main.ts",
"check": "cypress run && deno fmt && deno lint && deno check dev.ts main.ts",
"install": "deno eval 'import \"deco/scripts/apps/install.ts\"'",
"uninstall": "deno eval 'import \"deco/scripts/apps/uninstall.ts\"'",
"bundle": "deno run -A jsr:@deco/deco/scripts/bundle site",
Expand Down

0 comments on commit 4f27aa5

Please sign in to comment.