carbon-components-svelte/docs/cypress/integration/Button.js
2020-07-19 11:41:15 -07:00

11 lines
203 B
JavaScript

describe("Button", () => {
beforeEach(() => {
cy.examples("Button");
});
it("renders correctly", () => {
cy.get("button").then(($) => {
expect($.length).to.eql(4);
});
});
});