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
658796f8
Commit
658796f8
authored
May 12, 2021
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure request is pending in specs
parent
f3211f3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
ee/spec/frontend/security_configuration/dast_site_validation/components/dast_site_validation_modal_spec.js
..._validation/components/dast_site_validation_modal_spec.js
+7
-1
No files found.
ee/spec/frontend/security_configuration/dast_site_validation/components/dast_site_validation_modal_spec.js
View file @
658796f8
...
...
@@ -40,6 +40,8 @@ describe('DastSiteValidationModal', () => {
let
wrapper
;
let
requestHandlers
;
const
pendingHandler
=
jest
.
fn
(()
=>
new
Promise
(()
=>
{}));
const
componentFactory
=
(
mountFn
=
shallowMount
)
=>
({
mountOptions
=
{},
handlers
=
{},
...
...
@@ -109,7 +111,11 @@ describe('DastSiteValidationModal', () => {
describe
(
'
rendering
'
,
()
=>
{
describe
(
'
loading
'
,
()
=>
{
beforeEach
(()
=>
{
createFullComponent
();
createFullComponent
({
handlers
:
{
dastSiteTokenCreate
:
pendingHandler
,
},
});
});
it
(
'
renders a skeleton loader, no alert and no form group while token is being created
'
,
()
=>
{
...
...
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