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
d8013704
Commit
d8013704
authored
Jul 09, 2018
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that we don't want to wait in tests
parent
2b4509c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
doc/development/testing_guide/frontend_testing.md
doc/development/testing_guide/frontend_testing.md
+4
-0
No files found.
doc/development/testing_guide/frontend_testing.md
View file @
d8013704
...
@@ -172,6 +172,10 @@ object which can be treated like any other jasmine spy object.
...
@@ -172,6 +172,10 @@ object which can be treated like any other jasmine spy object.
Further documentation on the babel rewire pluign API can be found on
Further documentation on the babel rewire pluign API can be found on
[
its repository Readme doc
](
https://github.com/speedskater/babel-plugin-rewire#babel-plugin-rewire
)
.
[
its repository Readme doc
](
https://github.com/speedskater/babel-plugin-rewire#babel-plugin-rewire
)
.
#### Waiting in tests
If you cannot avoid using
[
`setTimeout`
](
https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout
)
in tests, please use the
[
Jasmine mock clock
](
https://jasmine.github.io/api/2.9/Clock.html
)
.
### Vue.js unit tests
### Vue.js unit tests
See this
[
section
][
vue-test
]
.
See this
[
section
][
vue-test
]
.
...
...
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