Skip to content

Commit 988b3e4

Browse files
committed
correcting tests
1 parent 7ac02a4 commit 988b3e4

File tree

13 files changed

+73
-4822
lines changed

13 files changed

+73
-4822
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
language: node_js
22
node_js: '0.10'
33
before_script:
4-
- npm install -g grunt-cli
5-
script: grunt travis
4+
- npm install -g grunt-cli
5+
script:
6+
- grunt jshint
7+
- node node_modules/intern/runner.js config=tests/sauce
68
env:
79
global:
810
- secure: PejwKh/cHv07TFKJEbTonawNYvKxgbJ9Syb8uRzU3RzzFrlGi9NFQFQHvHrfOF523m1zoEVmtWqBajgvjfHf9ZJvCtOsW0H6zk3W2HBXoc/M7cd+bZ9Cs3EkOJ4xvdqlmXa3bOGT81tDYiX5cdYfLdM7oGQN/jBW7I/CaVYKSHQ=

Gruntfile.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function (grunt) {
3030
all: {
3131
options: {
3232
runType: 'runner', // defaults to 'client'
33-
config: 'tests/local.js',
33+
config: 'tests/sauce',
3434
reporters: ['console', 'lcov']
3535
}
3636
}
@@ -45,7 +45,5 @@ module.exports = function (grunt) {
4545

4646
// By default, lint and run all tests.
4747
grunt.registerTask("default", ["jsbeautifier", "jshint", "intern"]);
48-
grunt.registerTask("travis", ["jshint", "intern"]);
49-
5048

5149
};

tests/i18nBuilt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ define([
66
var testLayer = function (that, options, locale, layerResult, layerHint, bundleResult, bundleHint) {
77
return that.remote
88
.get(require.toUrl('./testBuilt.html?' + locale + '&' + options))
9-
.wait(250)
9+
.wait(5000)
1010
.elementById('layer')
1111
.text()
1212
.then(function (txt) {

0 commit comments

Comments
 (0)