Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
Merge branch 'upstream-master' into yeoman-generator-1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinr committed Jan 5, 2017
2 parents 6f3036a + f600211 commit 90097dc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ sudo: false
language: node_js
node_js:
- 'stable'
- 'v7'
- 'v6'
- 'v5'
- 'v4'
- '0.12'
- '0.10'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://github.com/tomwayson"
},
"engines": {
"node": ">=0.10.0"
"node": ">=0.12.0"
},
"scripts": {
"test": "mocha --timeout 10000"
Expand Down
8 changes: 4 additions & 4 deletions test/test-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -892,8 +892,8 @@ describe('esri-appbuilder-js:widget subgenerator', function () {
.on('end', done);
});

it('has wabVersion set to 1.4', function (/*done*/) {
assert.fileContent('widgets/TestWidget/manifest.json', /"wabVersion": "1.4",/);
it('has wabVersion set to 2.2', function (/*done*/) {
assert.fileContent('widgets/TestWidget/manifest.json', /"wabVersion": "2.2",/);
});

it('has platform set to HTML', function (/*done*/) {
Expand Down Expand Up @@ -929,8 +929,8 @@ describe('esri-appbuilder-js:widget subgenerator', function () {
.on('end', done);
});

it('has wabVersion set to 1.4', function (/*done*/) {
assert.fileContent('widgets/TestWidget/manifest.json', /"wabVersion": "1.4"/);
it('has wabVersion set to 2.2', function (/*done*/) {
assert.fileContent('widgets/TestWidget/manifest.json', /"wabVersion": "2.2"/);
});

it('has platform set to HTML', function (/*done*/) {
Expand Down
2 changes: 1 addition & 1 deletion widget/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module.exports = Generator.extend({
this.wabVersion = '2.0beta';
} else {
this.platform = 'HTML';
this.wabVersion = '1.4';
this.wabVersion = '2.2';
this.is2d = true;
}

Expand Down

0 comments on commit 90097dc

Please sign in to comment.