Skip to content

Commit 2458c02

Browse files
author
Q
committed
Add helper notes throughout application.
1 parent 9e876ce commit 2458c02

14 files changed

+2813
-10969
lines changed

.prettierrc.js

+15-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
module.exports = {
2-
semi: true,
3-
trailingComma: 'none',
4-
singleQuote: true,
5-
printWidth: 120,
6-
tabWidth: 2,
7-
endOfLine: 'auto',
8-
bracketSpacing: true,
9-
parser: 'typescript'
2+
"arrowParens": "avoid",
3+
"bracketSpacing": false,
4+
"endOfLine": "lf",
5+
"htmlWhitespaceSensitivity": "css",
6+
"insertPragma": false,
7+
"jsxSingleQuote": false,
8+
"printWidth": 80,
9+
"proseWrap": "always",
10+
"quoteProps": "as-needed",
11+
"requirePragma": false,
12+
"semi": false,
13+
"singleQuote": true,
14+
"tabWidth": 2,
15+
"trailingComma": "all",
16+
"useTabs": false
1017
};

cypress/support/component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare global {
3535
namespace Cypress {
3636
interface Chainable {
3737
mount: typeof mount;
38-
mountStandalone: typeof mount;
38+
mountWithHttp: typeof mount;
3939
}
4040
}
4141
}
@@ -53,7 +53,7 @@ function customMount<T>(component: string | Type<T>, config?: MountConfig<T>) {
5353
}
5454

5555
Cypress.Commands.add('mount', mount);
56-
Cypress.Commands.add('mountStandalone', customMount);
56+
Cypress.Commands.add('mountWithHttp', customMount);
5757

5858
// Example use:
5959
// cy.mount(MyComponent)

0 commit comments

Comments
 (0)