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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
b40f7147
Commit
b40f7147
authored
Feb 07, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix broken frontend tests
parent
3ea1f91e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
spec/javascripts/commit/pipelines/pipelines_store_spec.js.es6
.../javascripts/commit/pipelines/pipelines_store_spec.js.es6
+4
-4
spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6
...pts/vue_shared/components/pipelines_table_row_spec.js.es6
+2
-4
spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6
...scripts/vue_shared/components/pipelines_table_spec.js.es6
+3
-5
No files found.
spec/javascripts/commit/pipelines/pipelines_store_spec.js.es6
View file @
b40f7147
require('~commit/pipelines/pipelines_store');
require('~
/
commit/pipelines/pipelines_store');
describe('Store', () => {
const store = gl.commits.pipelines.PipelinesS
tore;
let s
tore;
beforeEach(() => {
store
.creat
e();
store
= new gl.commits.pipelines.PipelinesStor
e();
});
it('should start with a blank state', () => {
...
...
@@ -23,7 +23,7 @@ describe('Store', () => {
},
];
store.store(pipelines);
store.store
Pipelines
(pipelines);
expect(store.state.pipelines.length).toBe(pipelines.length);
});
...
...
spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6
View file @
b40f7147
/* global pipeline */
require('~vue_shared/components/pipelines_table_row');
require('./mock_data');
require('~/vue_shared/components/pipelines_table_row');
const pipeline = require('../../commit/pipelines/mock_data');
describe('Pipelines Table Row', () => {
let component;
...
...
spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6
View file @
b40f7147
/* global pipeline */
require('~vue_shared/components/pipelines_table');
require('~lib/utils/datetime_utility');
require('./mock_data');
require('~/vue_shared/components/pipelines_table');
require('~/lib/utils/datetime_utility');
pipeline = require('../../commit/pipelines/mock_data');
describe('Pipelines Table', () => {
preloadFixtures('static/environments/element.html.raw');
...
...
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