more post-merge fixes
This commit is contained in:
parent
fc4fcf33bf
commit
2ee2daa4b9
9 changed files with 24 additions and 26 deletions
|
@ -54,8 +54,8 @@ requireAll(require.context('./commit', false, /^\.\/.*\.(js|es6)$/));
|
|||
requireAll(require.context('./extensions', false, /^\.\/.*\.(js|es6)$/));
|
||||
requireAll(require.context('./lib/utils', false, /^\.\/.*\.(js|es6)$/));
|
||||
requireAll(require.context('./u2f', false, /^\.\/.*\.(js|es6)$/));
|
||||
requireAll(require.context('.', false, /^\.\/(?!application).*\.(js|es6)$/));
|
||||
requireAll(require.context('./droplab', false, /^\.\/.*\.(js|es6)$/));
|
||||
requireAll(require.context('.', false, /^\.\/(?!application).*\.(js|es6)$/));
|
||||
require('vendor/fuzzaldrin-plus');
|
||||
window.ES6Promise = require('vendor/es6-promise.auto');
|
||||
window.ES6Promise.polyfill();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* global Vue, VueResource, gl */
|
||||
window.Vue = require('vue');
|
||||
window.Vue.use(require('vue-resource'));
|
||||
require('../vue_common_component/commit')
|
||||
require('../vue_common_component/commit');
|
||||
require('../boards/vue_resource_interceptor');
|
||||
require('./status');
|
||||
require('./store');
|
||||
|
|
|
@ -35,7 +35,7 @@ var config = {
|
|||
lib_chart: './lib/chart.js',
|
||||
lib_d3: './lib/d3.js',
|
||||
vue_pagination: './vue_pagination/index.js',
|
||||
vue_pipelines: './vue_pipelines_index/index.js',
|
||||
vue_pipelines: './vue_pipelines_index/index.js',
|
||||
},
|
||||
|
||||
output: {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//= require extensions/array
|
||||
//= require filtered_search/dropdown_utils
|
||||
//= require filtered_search/filtered_search_tokenizer
|
||||
//= require filtered_search/filtered_search_dropdown_manager
|
||||
require('~/extensions/array');
|
||||
require('~/filtered_search/dropdown_utils');
|
||||
require('~/filtered_search/filtered_search_tokenizer');
|
||||
require('~/filtered_search/filtered_search_dropdown_manager');
|
||||
|
||||
(() => {
|
||||
describe('Dropdown Utils', () => {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//= require extensions/array
|
||||
//= require filtered_search/filtered_search_tokenizer
|
||||
//= require filtered_search/filtered_search_dropdown_manager
|
||||
require('~/extensions/array');
|
||||
require('~/filtered_search/filtered_search_tokenizer');
|
||||
require('~/filtered_search/filtered_search_dropdown_manager');
|
||||
|
||||
(() => {
|
||||
describe('Filtered Search Dropdown Manager', () => {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//= require extensions/array
|
||||
//= require filtered_search/filtered_search_token_keys
|
||||
require('~/extensions/array');
|
||||
require('~/filtered_search/filtered_search_token_keys');
|
||||
|
||||
(() => {
|
||||
describe('Filtered Search Token Keys', () => {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
//= require extensions/array
|
||||
//= require filtered_search/filtered_search_token_keys
|
||||
//= require filtered_search/filtered_search_tokenizer
|
||||
require('~/extensions/array');
|
||||
require('~/filtered_search/filtered_search_token_keys');
|
||||
require('~/filtered_search/filtered_search_tokenizer');
|
||||
|
||||
(() => {
|
||||
describe('Filtered Search Tokenizer', () => {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//= require lib/utils/text_utility
|
||||
require('~/lib/utils/text_utility');
|
||||
|
||||
(() => {
|
||||
describe('text_utility', () => {
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
//= require vue
|
||||
//= require lib/utils/common_utils
|
||||
//= require vue_pagination/index
|
||||
/* global fixture, gl */
|
||||
require('~/lib/utils/common_utils');
|
||||
require('~/vue_pagination/index');
|
||||
|
||||
describe('Pagination component', () => {
|
||||
let component;
|
||||
|
@ -17,7 +15,7 @@ describe('Pagination component', () => {
|
|||
};
|
||||
|
||||
it('should render and start at page 1', () => {
|
||||
fixture.set('<div class="test-pagination-container"></div>');
|
||||
setFixtures('<div class="test-pagination-container"></div>');
|
||||
|
||||
component = new window.gl.VueGlPagination({
|
||||
el: document.querySelector('.test-pagination-container'),
|
||||
|
@ -40,7 +38,7 @@ describe('Pagination component', () => {
|
|||
});
|
||||
|
||||
it('should go to the previous page', () => {
|
||||
fixture.set('<div class="test-pagination-container"></div>');
|
||||
setFixtures('<div class="test-pagination-container"></div>');
|
||||
|
||||
component = new window.gl.VueGlPagination({
|
||||
el: document.querySelector('.test-pagination-container'),
|
||||
|
@ -61,7 +59,7 @@ describe('Pagination component', () => {
|
|||
});
|
||||
|
||||
it('should go to the next page', () => {
|
||||
fixture.set('<div class="test-pagination-container"></div>');
|
||||
setFixtures('<div class="test-pagination-container"></div>');
|
||||
|
||||
component = new window.gl.VueGlPagination({
|
||||
el: document.querySelector('.test-pagination-container'),
|
||||
|
@ -82,7 +80,7 @@ describe('Pagination component', () => {
|
|||
});
|
||||
|
||||
it('should go to the last page', () => {
|
||||
fixture.set('<div class="test-pagination-container"></div>');
|
||||
setFixtures('<div class="test-pagination-container"></div>');
|
||||
|
||||
component = new window.gl.VueGlPagination({
|
||||
el: document.querySelector('.test-pagination-container'),
|
||||
|
@ -103,7 +101,7 @@ describe('Pagination component', () => {
|
|||
});
|
||||
|
||||
it('should go to the first page', () => {
|
||||
fixture.set('<div class="test-pagination-container"></div>');
|
||||
setFixtures('<div class="test-pagination-container"></div>');
|
||||
|
||||
component = new window.gl.VueGlPagination({
|
||||
el: document.querySelector('.test-pagination-container'),
|
||||
|
@ -124,7 +122,7 @@ describe('Pagination component', () => {
|
|||
});
|
||||
|
||||
it('should do nothing', () => {
|
||||
fixture.set('<div class="test-pagination-container"></div>');
|
||||
setFixtures('<div class="test-pagination-container"></div>');
|
||||
|
||||
component = new window.gl.VueGlPagination({
|
||||
el: document.querySelector('.test-pagination-container'),
|
||||
|
|
Loading…
Reference in a new issue