Skip to content

Commit

Permalink
fix amd test
Browse files Browse the repository at this point in the history
  • Loading branch information
agubler committed Jan 28, 2020
1 parent 46fbfc9 commit 55135af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/shim/functional/amd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ registerSuite('AMD Util', {
undefined
)
.then((config: any) => {
assert.lengthOf(config.packages, 8);
assert.lengthOf(config.packages, 10);
assert.lengthOf(config.packages.filter((p: any) => p.name === 'pepjs'), 1);
assert.lengthOf(config.packages.filter((p: any) => p.name === 'wicg-inert'), 1);
assert.lengthOf(config.packages.filter((p: any) => p.name === 'tslib'), 1);
Expand All @@ -35,6 +35,8 @@ registerSuite('AMD Util', {
assert.lengthOf(config.packages.filter((p: any) => p.name === 'existingPackage'), 1);
assert.lengthOf(config.packages.filter((p: any) => p.name === 'web-animations-js'), 1);
assert.lengthOf(config.packages.filter((p: any) => p.name === 'resize-observer-polyfill'), 1);
assert.lengthOf(config.packages.filter((p: any) => p.name === 'cldr-core'), 1);
assert.lengthOf(config.packages.filter((p: any) => p.name === 'text'), 1);
});
},
async 'Utility does not inject dependency if it already exists'(test) {
Expand Down

0 comments on commit 55135af

Please sign in to comment.