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
997bc7f6
Commit
997bc7f6
authored
Apr 14, 2020
by
Denys Mishunov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced test with snapshot matching
parent
f5c27935
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
spec/frontend/vue_shared/components/form/__snapshots__/form_footer_actions_spec.js.snap
...nents/form/__snapshots__/form_footer_actions_spec.js.snap
+19
-0
spec/frontend/vue_shared/components/form/form_footer_actions_spec.js
...nd/vue_shared/components/form/form_footer_actions_spec.js
+1
-1
No files found.
spec/frontend/vue_shared/components/form/__snapshots__/form_footer_actions_spec.js.snap
0 → 100644
View file @
997bc7f6
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Form Footer Actions renders content properly 1`] = `
<footer
class="form-actions d-flex justify-content-between"
>
<div>
Bar
</div>
<div>
Foo
</div>
<div>
Abrakadabra
</div>
</footer>
`;
spec/frontend/vue_shared/components/form/form_footer_actions_spec.js
View file @
997bc7f6
...
...
@@ -24,6 +24,6 @@ describe('Form Footer Actions', () => {
append
,
});
expect
(
wrapper
.
text
().
replace
(
/
\s
+/g
,
''
)).
toBe
(
`
${
prepend
}${
defaultSlot
}${
append
}
`
);
expect
(
wrapper
.
element
).
toMatchSnapshot
(
);
});
});
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