Skip to content

Commit f72c08b

Browse files
authored
Merge pull request #18 from amoldavsky/fix-lowest-angular-supported-version
fix-lowest-angular-supported-version
2 parents ea49aed + 2bc11ec commit f72c08b

File tree

5 files changed

+28945
-1
lines changed

5 files changed

+28945
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
AngularJS ngMockE2E Async
33
<br><br>
44

5-
Angular 1.3.0 [![CircleCI](https://circleci.com/gh/amoldavsky/angular-mocks-async/tree/master.svg?style=shield)](https://circleci.com/gh/amoldavsky/angular-mocks-async)
5+
Angular 1.3.17 [![CircleCI](https://circleci.com/gh/amoldavsky/angular-mocks-async/tree/master.svg?style=shield)](https://circleci.com/gh/amoldavsky/angular-mocks-async)
66

77
Angular 1.5.8 [![CircleCI](https://circleci.com/gh/amoldavsky/angular-mocks-async/tree/master.svg?style=shield)](https://circleci.com/gh/amoldavsky/angular-mocks-async)
88

circle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ test:
1616
#- ./node_modules/karma-cli/bin/karma start karma.conf.js --single-run
1717
- ./node_modules/gulp-cli/bin/gulp.js test-unminified
1818
- ./node_modules/gulp-cli/bin/gulp.js test-minified
19+
- ./node_modules/gulp-cli/bin/gulp.js test-with-angular-1.3.17
1920

2021
post:
2122
- bash <(curl -s https://codecov.io/bash)

gulpfile.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,37 @@
130130
);
131131
});
132132

133+
gulp.task( "test-with-angular-1.3.17", function () {
134+
gulp.src([
135+
'test/angular-1.3.17/angular.js',
136+
'test/angular-1.3.17/angular-mocks.js',
137+
'dist/angular-mocks-async.min.js',
138+
'test/angular-mocks-async-internal-tests.js',
139+
'test/angular-mocks-async-test.js'
140+
], {"read": false}).pipe(
141+
karma.server({
142+
singleRun: true,
143+
autoWatch: true,
144+
concurrency: Infinity,
145+
port: 9876,
146+
147+
frameworks: [ "mocha", "chai" ],
148+
browsers: [ "Chrome" ],
149+
basePath: "",
150+
exclude: [],
151+
preprocessors: {
152+
'src/**/*.js': ['coverage']
153+
},
154+
reporters: [ 'spec', 'coverage' ],
155+
coverageReporter: {
156+
type : 'lcov',
157+
dir : 'coverage/'
158+
},
159+
colors: true
160+
})
161+
);
162+
});
163+
133164
gulp.task( "test-with-angular-1.3.0", function () {
134165
gulp.src([
135166
'test/angular-1.3.0/angular.js',

0 commit comments

Comments
 (0)