Files
nebula.js/test/component/hooks/hooked.fix.js
Tobias Åström 034be90b51 feat: add useEmitter and corresponding viz api (#1168)
* feat: add useEmitter and corresponding viz api

* chore: update spec

* chore: remove change to model

* chore: align names
2023-03-28 18:16:40 +02:00

28 lines
485 B
JavaScript

export default function fixture() {
return {
type: 'sn-mounted',
instanceConfig: {
flags: {
MAGIC_FLAG: true,
},
},
snConfig: {
options: {
myOption: 'opts',
},
events: ['somethingEmitted'],
},
genericObjects: [
{
getLayout() {
return {
qInfo: { qId: 'bb8' },
visualization: 'sn-mounted',
showTitles: true,
};
},
},
],
};
}