Commit 4c331c26 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch '194218-migrate-spec-javascripts-blob_edit-to-jest' into 'master'

Migrate blob_bundle spec from Karma to Jest

Closes #194218

See merge request gitlab-org/gitlab!26134
parents 210ecd43 45d80508
import $ from 'jquery';
import blobBundle from '~/blob_edit/blob_bundle';
jest.mock('~/blob_edit/edit_blob');
describe('BlobBundle', () => {
beforeEach(() => {
spyOnDependency(blobBundle, 'EditBlob').and.stub();
setFixtures(`
<div class="js-edit-blob-form" data-blob-filename="blah">
<button class="js-commit-button"></button>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment