Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cef55d9d
Commit
cef55d9d
authored
Mar 11, 2019
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove polyfill warnings from the FE testing docs
parent
8d067414
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
doc/development/testing_guide/frontend_testing.md
doc/development/testing_guide/frontend_testing.md
+0
-19
No files found.
doc/development/testing_guide/frontend_testing.md
View file @
cef55d9d
...
@@ -281,25 +281,6 @@ Information on setting up and running RSpec integration tests with
...
@@ -281,25 +281,6 @@ Information on setting up and running RSpec integration tests with
## Gotchas
## Gotchas
### Errors due to use of unsupported JavaScript features
Similar errors will be thrown if you're using JavaScript features not yet
supported by the PhantomJS test runner which is used for both Karma and RSpec
tests. We polyfill some JavaScript objects for older browsers, but some
features are still unavailable:
-
Array.from
-
Array.first
-
Async functions
-
Generators
-
Array destructuring
-
For..Of
-
Symbol/Symbol.iterator
-
Spread
Until these are polyfilled appropriately, they should not be used. Please
update this list with additional unsupported features.
### RSpec errors due to JavaScript
### RSpec errors due to JavaScript
By default RSpec unit tests will not run JavaScript in the headless browser
By default RSpec unit tests will not run JavaScript in the headless browser
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment