-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move linting to each lib to enable caching (#24424)
- Loading branch information
1 parent
8d85c80
commit ed90b14
Showing
82 changed files
with
418 additions
and
266 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
**/__snapshots__ | ||
/build | ||
|
||
# cli/types is linted by tslint/dtslint | ||
/types | ||
|
||
# these are all copied from dist'd builds from the individual libs | ||
/angular | ||
/react | ||
/react18 | ||
/vue | ||
/vue2 | ||
/svelte | ||
/mount-utils |
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,37 +1,37 @@ | ||
exports['package.json build outputs expected properties 1'] = { | ||
"name": "test", | ||
"engines": "test engines", | ||
"version": "x.y.z", | ||
"buildInfo": "replaced by normalizePackageJson", | ||
"description": "Cypress is a next generation front end testing tool built for the modern web", | ||
"homepage": "https://github.com/cypress-io/cypress", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/cypress-io/cypress/issues" | ||
'name': 'test', | ||
'engines': 'test engines', | ||
'version': 'x.y.z', | ||
'buildInfo': 'replaced by normalizePackageJson', | ||
'description': 'Cypress is a next generation front end testing tool built for the modern web', | ||
'homepage': 'https://github.com/cypress-io/cypress', | ||
'license': 'MIT', | ||
'bugs': { | ||
'url': 'https://github.com/cypress-io/cypress/issues', | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/cypress-io/cypress.git" | ||
'repository': { | ||
'type': 'git', | ||
'url': 'https://github.com/cypress-io/cypress.git', | ||
}, | ||
"keywords": [ | ||
"automation", | ||
"browser", | ||
"cypress", | ||
"cypress.io", | ||
"e2e", | ||
"end-to-end", | ||
"integration", | ||
"component", | ||
"mocks", | ||
"runner", | ||
"spies", | ||
"stubs", | ||
"test", | ||
"testing" | ||
'keywords': [ | ||
'automation', | ||
'browser', | ||
'cypress', | ||
'cypress.io', | ||
'e2e', | ||
'end-to-end', | ||
'integration', | ||
'component', | ||
'mocks', | ||
'runner', | ||
'spies', | ||
'stubs', | ||
'test', | ||
'testing', | ||
], | ||
"types": "types", | ||
"scripts": { | ||
"postinstall": "node index.js --exec install", | ||
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";" | ||
} | ||
'types': 'types', | ||
'scripts': { | ||
'postinstall': 'node index.js --exec install', | ||
'size': 't="$(npm pack .)"; wc -c "${t}"; tar tvf "${t}"; rm "${t}";', | ||
}, | ||
} |
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,4 +1,4 @@ | ||
exports['cypress .run resolves with contents of tmp file 1'] = { | ||
"code": 0, | ||
"failingTests": [] | ||
'code': 0, | ||
'failingTests': [], | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
exports['exec run .processRunOptions does not remove --record option when using --browser 1'] = [ | ||
"--run-project", | ||
'--run-project', | ||
null, | ||
"--browser", | ||
"test browser", | ||
"--record", | ||
"foo" | ||
'--browser', | ||
'test browser', | ||
'--record', | ||
'foo', | ||
] | ||
|
||
exports['exec run .processRunOptions passes --browser option 1'] = [ | ||
"--run-project", | ||
'--run-project', | ||
null, | ||
"--browser", | ||
"test browser" | ||
'--browser', | ||
'test browser', | ||
] | ||
|
||
exports['exec run .processRunOptions passes --record option 1'] = [ | ||
"--run-project", | ||
'--run-project', | ||
null, | ||
"--record", | ||
"my record id" | ||
'--record', | ||
'my record id', | ||
] | ||
|
||
exports['exec run .processRunOptions defaults to e2e testingType 1'] = [ | ||
"--run-project", | ||
null | ||
'--run-project', | ||
null, | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
exports['config_as_object 1'] = { | ||
"config": "{\"baseUrl\":\"http://localhost:2000\",\"watchForFileChanges\":false}" | ||
'config': '{"baseUrl":"http://localhost:2000","watchForFileChanges":false}', | ||
} | ||
|
||
exports['env_as_object 1'] = { | ||
"env": "{\"foo\":\"bar\",\"magicNumber\":1234,\"host\":\"kevin.dev.local\"}" | ||
'env': '{"foo":"bar","magicNumber":1234,"host":"kevin.dev.local"}', | ||
} | ||
|
||
exports['env_as_string 1'] = { | ||
"env": "foo=bar" | ||
'env': 'foo=bar', | ||
} | ||
|
||
exports['others_unchanged 1'] = { | ||
"foo": "bar" | ||
'foo': 'bar', | ||
} | ||
|
||
exports['reporter_options_as_object 1'] = { | ||
"reporterOptions": "{\"mochaFile\":\"results/my-test-output.xml\",\"toConsole\":true}" | ||
'reporterOptions': '{"mochaFile":"results/my-test-output.xml","toConsole":true}', | ||
} | ||
|
||
exports['spec_as_array 1'] = { | ||
"spec": "[\"a\",\"b\",\"c\"]" | ||
'spec': '["a","b","c"]', | ||
} | ||
|
||
exports['spec_as_string 1'] = { | ||
"spec": "x,y,z" | ||
'spec': 'x,y,z', | ||
} |
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.
ed90b14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
linux x64
version of the Test Runner.Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.
Run this command to install the pre-release locally:
ed90b14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
linux arm64
version of the Test Runner.Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.
Run this command to install the pre-release locally:
ed90b14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
darwin arm64
version of the Test Runner.Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.
Run this command to install the pre-release locally:
ed90b14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
win32 x64
version of the Test Runner.Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.
Run this command to install the pre-release locally: