Commit d2225b03 authored by Denys Mishunov's avatar Denys Mishunov

Fixed the failed spec

parent a69f7d55
...@@ -9,8 +9,8 @@ export default { ...@@ -9,8 +9,8 @@ export default {
components: { components: {
EditorLite, EditorLite,
}, },
inject: ['ciConfigPath', 'projectPath', 'projectNamespace', 'defaultBranch'],
mixins: [glFeatureFlagMixin()], mixins: [glFeatureFlagMixin()],
inject: ['ciConfigPath', 'projectPath', 'projectNamespace', 'defaultBranch'],
inheritAttrs: false, inheritAttrs: false,
data() { data() {
return { return {
......
...@@ -9,6 +9,7 @@ import { ...@@ -9,6 +9,7 @@ import {
mockCommitSha, mockCommitSha,
mockProjectPath, mockProjectPath,
mockProjectNamespace, mockProjectNamespace,
mockDefaultBranch,
} from '../../mock_data'; } from '../../mock_data';
describe('Pipeline Editor | Text editor component', () => { describe('Pipeline Editor | Text editor component', () => {
...@@ -38,6 +39,7 @@ describe('Pipeline Editor | Text editor component', () => { ...@@ -38,6 +39,7 @@ describe('Pipeline Editor | Text editor component', () => {
projectPath: mockProjectPath, projectPath: mockProjectPath,
projectNamespace: mockProjectNamespace, projectNamespace: mockProjectNamespace,
ciConfigPath: mockCiConfigPath, ciConfigPath: mockCiConfigPath,
defaultBranch: mockDefaultBranch,
glFeatures, glFeatures,
}, },
attrs: { attrs: {
......
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