-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* lint and fix unit testing * detect react version * testing dom eslint fixes * lint json files * lint json files * lint stubbing recipes * lint logging in recipes * lint server communication recipes * lint fundamentals recipes * lint vue vuex rest recipe * all linted * lint using single command
- Loading branch information
Showing
160 changed files
with
1,665 additions
and
6,911 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,7 +1,17 @@ | ||
examples/blogs__e2e-snapshots/snapshots.js | ||
examples/blogs__element-coverage/src | ||
examples/preprocessors__typescript-webpack/dist | ||
node_modules | ||
examples/preprocessors__flow-browserify | ||
examples/blogs__testing-redux-store/src | ||
**/node_modules | ||
**/vendor | ||
# don't ignore hidden files, useful for formatting json config files | ||
!.* | ||
# most TS configs have comments, which generates lint warnings | ||
tsconfig.json | ||
# generated files | ||
.cache | ||
examples/blogs__testing-redux-store/dist | ||
examples/preprocessors__typescript-webpack/dist | ||
# a couple of problematic JSON files | ||
examples/logging-in__jwt/server/config.json | ||
examples/logging-in__using-app-code/server/config.json |
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 |
---|---|---|
|
@@ -11,3 +11,4 @@ screenshots | |
videos | ||
out.js | ||
examples/*/cypress/logs | ||
snapshots.js |
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
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
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
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
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
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
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
39 changes: 22 additions & 17 deletions
39
examples/blogs__e2e-snapshots/cypress/fixtures/example.json
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,17 +1,22 @@ | ||
[{ | ||
"id": "1", | ||
"title": "do first thing", | ||
"completed": false | ||
}, { | ||
"id": "2", | ||
"title": "do second thing", | ||
"completed": true | ||
}, { | ||
"id": "3", | ||
"title": "one more thing", | ||
"completed": false | ||
}, { | ||
"id": "4", | ||
"title": "last item on the agenda", | ||
"completed": false | ||
}] | ||
[ | ||
{ | ||
"id": "1", | ||
"title": "do first thing", | ||
"completed": false | ||
}, | ||
{ | ||
"id": "2", | ||
"title": "do second thing", | ||
"completed": true | ||
}, | ||
{ | ||
"id": "3", | ||
"title": "one more thing", | ||
"completed": false | ||
}, | ||
{ | ||
"id": "4", | ||
"title": "last item on the agenda", | ||
"completed": false | ||
} | ||
] |
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
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
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
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
39 changes: 22 additions & 17 deletions
39
examples/blogs__vue-vuex-rest/cypress/fixtures/example.json
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,17 +1,22 @@ | ||
[{ | ||
"id": "1", | ||
"title": "do first thing", | ||
"completed": false | ||
}, { | ||
"id": "2", | ||
"title": "do second thing", | ||
"completed": true | ||
}, { | ||
"id": "3", | ||
"title": "one more thing", | ||
"completed": false | ||
}, { | ||
"id": "4", | ||
"title": "last item on the agenda", | ||
"completed": false | ||
}] | ||
[ | ||
{ | ||
"id": "1", | ||
"title": "do first thing", | ||
"completed": false | ||
}, | ||
{ | ||
"id": "2", | ||
"title": "do second thing", | ||
"completed": true | ||
}, | ||
{ | ||
"id": "3", | ||
"title": "one more thing", | ||
"completed": false | ||
}, | ||
{ | ||
"id": "4", | ||
"title": "last item on the agenda", | ||
"completed": false | ||
} | ||
] |
22 changes: 11 additions & 11 deletions
22
examples/blogs__vue-vuex-rest/cypress/fixtures/todos.json
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,12 +1,12 @@ | ||
[ | ||
{ | ||
"title": "mock first", | ||
"completed": false, | ||
"id": "1" | ||
}, | ||
{ | ||
"title": "mock second", | ||
"completed": true, | ||
"id": "2" | ||
} | ||
] | ||
{ | ||
"title": "mock first", | ||
"completed": false, | ||
"id": "1" | ||
}, | ||
{ | ||
"title": "mock second", | ||
"completed": true, | ||
"id": "2" | ||
} | ||
] |
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
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
1 change: 1 addition & 0 deletions
1
...ing-cypress__chai-assertions/cypress/integration/extending-chai-assertion-plugins-spec.js
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,4 @@ | ||
/* global chai */ | ||
/// <reference types="Cypress" /> | ||
/// <reference path="../support/index.d.ts" /> | ||
|
||
|
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
Oops, something went wrong.