forked from cypress-io/cypress-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert coffeescript to javascript (cypress-io#1203)
* Convert coffeescript to javascript * remove coffee-script dep * remove return statement * Include cypress linter into tests + exclude from docs md files * do not ignore files in cypress/support * add missing repo.js (git was confused from gitignore) * Fix broken if/else conversion from coffee -> js
- Loading branch information
1 parent
b4557ca
commit f834460
Showing
33 changed files
with
1,372 additions
and
1,090 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,8 +1,14 @@ | ||
{ | ||
"plugins": [ | ||
"cypress" | ||
], | ||
"extends": [ | ||
"plugin:cypress-dev/general" | ||
"plugin:cypress-dev/general", | ||
"plugin:cypress/recommended" | ||
], | ||
"env": { | ||
"node": true | ||
"es6": true, | ||
"node": true, | ||
"cypress/globals": true | ||
} | ||
} |
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ public/ | |
.DS_Store | ||
.deploy*/ | ||
support | ||
!cypress/support | ||
.idea/ | ||
|
||
themes/cypress/source/css/vendor/ | ||
|
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,3 @@ | ||
{ | ||
"standard.enable": false, | ||
"eslint.enable": true | ||
} |
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,10 @@ | ||
exports['lib/helpers cheerio wraps document in html tag 1'] = '<html><head></head><body><p>foo</p></body></html>' | ||
|
||
exports['lib/helpers cheerio does not wrap fragment in html tag 1'] = '<p>foo</p>' | ||
|
||
exports['lib/helpers addPageAnchors is noop if no headings found 1'] = '<p>foo</p>' | ||
|
||
exports['lib/helpers addPageAnchors does not wrap with <html> 1'] = '<h1 id="bar" class="article-heading">foo<a class="article-anchor" href="#bar" aria-hidden="true"></a></h1>' | ||
|
||
exports['lib/helpers addPageAnchors does not wrap fragment in html tag 1'] = '<p>foo</p>' | ||
|
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.