Skip to content

Commit

Permalink
Merge pull request #2396 from aluanhaddad/0.17-update-package-used-fo…
Browse files Browse the repository at this point in the history
…r-tests-to-secure-version

update-package-used-for-tests-to-secure-version
  • Loading branch information
aluanhaddad authored Feb 6, 2018
2 parents a7e7874 + fe4e376 commit 10b410b
Show file tree
Hide file tree
Showing 5 changed files with 290 additions and 242 deletions.
4 changes: 2 additions & 2 deletions test/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ suite('API tests', function() {
test('Normalize', function(done) {
return api.normalize('jquery')
.then(function(normalized) {
assert(normalized === common.toFileURL(path.resolve('testlibs') + '/jspm_packages/github/components/jquery@2.1.4/jquery.js'));
assert(normalized === common.toFileURL(path.resolve('testlibs') + '/jspm_packages/github/components/jquery@2.2.4/jquery.js'));
})
.then(done, done);

Expand All @@ -40,4 +40,4 @@ suite('API tests', function() {
})
.then(done, done);
});
});
});
4 changes: 2 additions & 2 deletions test/dogfood.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ suite('API tests', function() {

return loader.normalize('jquery')
.then(function(normalized) {
assert(normalized === loader.baseURL + 'jspm_packages/github/components/jquery@2.1.4/jquery.js');
assert(normalized === loader.baseURL + 'jspm_packages/github/components/jquery@2.2.4/jquery.js');
done();
})
.catch(done);
Expand All @@ -44,4 +44,4 @@ suite('API tests', function() {
})
.catch(done);
});
});
});
6 changes: 3 additions & 3 deletions testlibs/jspm.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ SystemJS.config({
"github:d3/[email protected]/d3.js",
"github:d3/[email protected]",
"tests/jquery.js",
"github:components/jquery@2.1.4/jquery.js",
"github:components/jquery@2.1.4.json",
"github:components/jquery@2.2.4/jquery.js",
"github:components/jquery@2.2.4.json",
"tests/bootstrap.js",
"tests/bootstrap.html!github:systemjs/[email protected]/text.js",
"github:systemjs/[email protected]",
Expand All @@ -182,4 +182,4 @@ SystemJS.config({
"npm:[email protected]/mocha.css!github:systemjs/[email protected]/css.js"
]
}
});
});
Loading

0 comments on commit 10b410b

Please sign in to comment.