Skip to content

Commit

Permalink
add requiredBundles to some more test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Jul 8, 2020
1 parent bde26a4 commit 1fb3e7a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/public/plugins/plugin.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ function createManifest(
configPath: ['path'],
requiredPlugins: required,
optionalPlugins: optional,
requiredBundles: [],
} as DiscoveredPlugin;
}

Expand Down
1 change: 1 addition & 0 deletions src/core/public/plugins/plugins_service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ function createManifest(
configPath: ['path'],
requiredPlugins: required,
optionalPlugins: optional,
requiredBundles: [],
};
}

Expand Down
1 change: 1 addition & 0 deletions src/core/server/legacy/legacy_service.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ beforeEach(() => {
[
'plugin-id',
{
requiredBundles: [],
publicTargetDir: 'path/to/target/public',
publicAssetsDir: '/plugins/name/assets/',
},
Expand Down
1 change: 1 addition & 0 deletions src/core/server/plugins/plugins_system.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function createPlugin(
kibanaVersion: '7.0.0',
requiredPlugins: required,
optionalPlugins: optional,
requiredBundles: [],
server,
ui,
},
Expand Down

0 comments on commit 1fb3e7a

Please sign in to comment.