Skip to content

Commit b9e4c8c

Browse files
author
Lucas Araujo
committed
[DDW-796] Test only
1 parent a9bf930 commit b9e4c8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/renderer/app/App.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// @flow
22
import React, { Component, Fragment } from 'react';
33
import { Provider, observer } from 'mobx-react';
4+
import { spy } from 'mobx';
45
import { ThemeProvider } from 'react-polymorph/lib/components/ThemeProvider';
56
import { SimpleSkins } from 'react-polymorph/lib/skins/simple';
67
import { SimpleDefaults } from 'react-polymorph/lib/themes/simple';
@@ -28,6 +29,9 @@ export default class App extends Component<{
2829
history: Object,
2930
}> {
3031
componentDidMount() {
32+
spy((event) => {
33+
console.log(event);
34+
});
3135
// Loads app's global environment variables into AppStore via ipc
3236
this.props.actions.app.initAppEnvironment.trigger();
3337
}

0 commit comments

Comments
 (0)