mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-27 07:30:34 +08:00
* Add Cypress component testing * Add SeedAddress component testing * Add Error component test * Add Search component test * Add code coverage instrumentation * Add BranchSelector component testing * Add coverage check to CI * Require node version 14 Signed-off-by: Sebastian Martinez <sebastinez@me.com>
20 lines
348 B
TypeScript
20 lines
348 B
TypeScript
import '@cypress/code-coverage/support';
|
|
import '@testing-library/cypress/add-commands';
|
|
|
|
export const styles = {
|
|
cssFile: "public/index.css",
|
|
style: `
|
|
.wrapper {
|
|
height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
`,
|
|
html: `
|
|
<div class="wrapper">
|
|
<div id="here" />
|
|
</div>
|
|
`
|
|
};
|