summaryrefslogtreecommitdiff
path: root/spec/frontend/blob/components/blob_header_spec.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-11-16 09:09:18 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-11-16 09:09:18 +0000
commit14cb5b3d793c1f41c7d36e2e899d3e5e9eca148f (patch)
tree235f19919bf2a070c337f0336443fb05eacf52b2 /spec/frontend/blob/components/blob_header_spec.js
parent0ab17699c88587c5872f9517b29be5f43224a8ea (diff)
downloadgitlab-ce-14cb5b3d793c1f41c7d36e2e899d3e5e9eca148f.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/blob/components/blob_header_spec.js')
-rw-r--r--spec/frontend/blob/components/blob_header_spec.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/frontend/blob/components/blob_header_spec.js b/spec/frontend/blob/components/blob_header_spec.js
index 01d4bf834d2..3e84347bee4 100644
--- a/spec/frontend/blob/components/blob_header_spec.js
+++ b/spec/frontend/blob/components/blob_header_spec.js
@@ -11,7 +11,11 @@ describe('Blob Header Default Actions', () => {
function createComponent(blobProps = {}, options = {}, propsData = {}, shouldMount = false) {
const method = shouldMount ? mount : shallowMount;
+ const blobHash = 'foo-bar';
wrapper = method.call(this, BlobHeader, {
+ provide: {
+ blobHash,
+ },
propsData: {
blob: { ...Blob, ...blobProps },
...propsData,