We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2706bcb commit 2360c88Copy full SHA for 2360c88
tests/modules/Bundler.spec.ts
@@ -55,7 +55,6 @@ describe('Bundler', function() {
55
let builds = bundler.process();
56
expect(builds.length).toEqual(4);
57
58
- expect(typeof builds[0].external()).toEqual('boolean');
59
expect(builds).toBeInstanceOf(Array);
60
61
const bundler2 = new Bundler(null, [], {
@@ -70,7 +69,9 @@ describe('Bundler', function() {
70
69
71
it(`should include return array of module build objects for the enabled builds`, function() {
72
const builds = bundler.process();
73
+ if (!Array.isArray(builds[0].external)) {
+ expect(typeof builds[0].external('', '', false)).toEqual('boolean');
74
+ }
75
76
});
77
0 commit comments