You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When buildColumns received the same field multiple times in columnDefs it
would eventually throw an exception due to a typo where it was trying to
generate incremental display names.
This change fixes that and includes tests for the exception as well as
incremental displayName creation.
Fixes#2789
// Generated on Fri Nov 08 2013 09:25:16 GMT-0600 (Central Standard Time)
3
+
varutil=require('../lib/grunt/utils.js');
4
+
vargrunt=require('grunt');
5
+
6
+
module.exports=function(config){
7
+
config.set({
8
+
9
+
// base path, that will be used to resolve files and exclude
10
+
basePath: '../',
11
+
12
+
// frameworks to use
13
+
frameworks: ['jasmine'],
14
+
15
+
// list of files / patterns to load in the browser (we add more dynamically in our tasks)
16
+
files: [
17
+
'bower_components/jquery/jquery.min.js',
18
+
'lib/test/jquery.simulate.js',
19
+
'bower_components/lodash/dist/lodash.min.js',
20
+
21
+
'lib/test/angular/1.3.6/angular.js',
22
+
'lib/test/angular/1.3.6/angular-mocks.js',
23
+
'lib/test/angular/1.3.6/angular-animate.js',
24
+
25
+
'src/js/core/bootstrap.js',
26
+
'src/js/**/*.js',
27
+
'src/features/**/js/**/*.js',
28
+
'test/unit/**/*.spec.js',
29
+
'src/features/**/test/**/*.spec.js',
30
+
31
+
'dist/release/ui-grid.css',
32
+
33
+
'.tmp/template.js'//templates
34
+
],
35
+
36
+
37
+
// list of files to exclude
38
+
exclude: [
39
+
],
40
+
41
+
42
+
// test results reporter to use
43
+
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage'
44
+
reporters: ['dots','coverage'],
45
+
46
+
preprocessors: {
47
+
// Cover source files but ignore any .spec.js files. Thanks goodness I found the pattern here: https://github.com/karma-runner/karma/pull/834#issuecomment-35626132
48
+
'src/**/!(*.spec)+(.js)': ['coverage']
49
+
},
50
+
51
+
coverageReporter: {
52
+
type: 'lcov',
53
+
dir: 'coverage',
54
+
subdir: '.'
55
+
},
56
+
57
+
// web server port
58
+
port: 9876,
59
+
60
+
61
+
// enable / disable colors in the output (reporters and logs)
0 commit comments