Skip to content

Commit 4c43f3f

Browse files
author
John Messerly
committed
Merge pull request #323 from dart-lang/language_tests
add language tests & run them in karma
2 parents 279194d + bea9ae7 commit 4c43f3f

File tree

1,759 files changed

+111252
-150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,759 files changed

+111252
-150
lines changed

pkg/dev_compiler/karma.conf.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ module.exports = function(config) {
2929
'test/codegen/expect/unittest/unittest.js',
3030
'test/codegen/expect/syncstar_syntax.js',
3131
'test/codegen/expect/language/*.js',
32+
'test/codegen/expect/language/sub/sub.js',
33+
'test/codegen/expect/language/*.lib',
3234
'test/browser/*.js',
3335
'test-main.js',
3436
],
@@ -67,6 +69,9 @@ module.exports = function(config) {
6769
// enable / disable watching file and executing tests whenever any file changes
6870
autoWatch: true,
6971

72+
browserNoActivityTimeout: 60000,
73+
browserDisconnectTolerance: 5,
74+
7075
// start these browsers
7176
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
7277

@@ -94,7 +99,8 @@ module.exports = function(config) {
9499
flags: [ '--no-sandbox', harmony_flags ]
95100
},
96101
},
97-
browsers: ['chrome_harmony', 'chrome_canary_harmony'],
102+
// TODO(jmesserly): 'chrome_harmony',
103+
browsers: ['chrome_canary_harmony'],
98104

99105
// Continuous Integration mode
100106
// if true, Karma captures browsers, runs the tests and exits

0 commit comments

Comments
 (0)