Skip to content

Commit

Permalink
CB-14148 remove nonsense www platform from listing
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher J. Brody committed Jun 26, 2018
1 parent 3016ba3 commit 7aebd79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
9 changes: 5 additions & 4 deletions spec/cordova/platforms/platforms.spec.js
Expand Up @@ -39,8 +39,7 @@ describe('platforms object', function () {
});

it('should have correct number of platform properties', function () {
// CB-14148 TODO includes nonsense "www" platform:
expect(Object.keys(platforms).length).toBe(6);
expect(Object.keys(platforms).length).toBe(5);
});

it('should include the supported platforms', function () {
Expand All @@ -49,8 +48,10 @@ describe('platforms object', function () {
expect(platforms.ios).toBeDefined();
expect(platforms.osx).toBeDefined();
expect(platforms.windows).toBeDefined();
// REPRODUCE CB-14148:
expect(platforms.www).toBeDefined();
});

it('should *not* include nonsense "www" platform (CB-14148)', function () {
expect(platforms.www).not.toBeDefined();
});
});

Expand Down
7 changes: 0 additions & 7 deletions src/platforms/platformsConfig.json
Expand Up @@ -19,13 +19,6 @@
"apiCompatibleSince": "5.0.0",
"deprecated": false
},
"www": {
"hostos": [],
"url": "https://git-wip-us.apache.org/repos/asf?p=cordova-app-hello-world.git",
"source": "git",
"version": "^3.12.0",
"deprecated": false
},
"windows": {
"hostos": ["win32"],
"url": "https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git",
Expand Down

0 comments on commit 7aebd79

Please sign in to comment.