parent
e792ea93d6
commit
b58d14467e
|
@ -21,7 +21,7 @@ export class HelloWorldPlugin implements Plugin<void, void, SetupDeps> {
|
|||
id: 'helloWorld',
|
||||
title: 'Hello World',
|
||||
async mount({ element }: AppMountParameters) {
|
||||
ReactDOM.render(<div id="helloWorldDiv">Hello World!</div>, element);
|
||||
ReactDOM.render(<div data-test-subj="helloWorldDiv">Hello World!</div>, element);
|
||||
return () => ReactDOM.unmountComponentAtNode(element);
|
||||
},
|
||||
});
|
||||
|
|
|
@ -22,6 +22,7 @@ export default async function ({ readConfigFile }) {
|
|||
|
||||
return {
|
||||
testFiles: [
|
||||
require.resolve('./hello_world'),
|
||||
require.resolve('./embeddables'),
|
||||
require.resolve('./bfetch_explorer'),
|
||||
require.resolve('./ui_actions'),
|
||||
|
|
Loading…
Reference in a new issue