Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
WIP adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NejcZdovc committed Aug 17, 2017
1 parent 38e32b3 commit f7feadb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 54 deletions.
3 changes: 3 additions & 0 deletions app/browser/reducers/windowsReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ const createWindow = (state, action) => {
primaryDisplay = matchingDisplay
}
}

console.log(JSON.stringify(BrowserWindow))

const parentWindow = parentWindowKey
? BrowserWindow.fromId(parentWindowKey)
: BrowserWindow.getFocusedWindow()
Expand Down
2 changes: 1 addition & 1 deletion test/unit/app/browser/reducers/windowsReducerTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ const mockery = require('mockery')
const sinon = require('sinon')
const Immutable = require('immutable')
const assert = require('assert')
const fakeElectron = require('../../../lib/fakeElectron')
const fakeAdBlock = require('../../../lib/fakeAdBlock')

const appConstants = require('../../../../../js/constants/appConstants')
require('../../../braveUnit')

describe('windowsReducer unit test', function () {
let windowsReducer
const fakeElectron = Object.assign({}, require('../../../lib/fakeElectron'))

const fakeWindowState = {
maybeCreateWindow: (state, action) => state
Expand Down
53 changes: 0 additions & 53 deletions test/unit/js/stores/appStoreTest.js

This file was deleted.

0 comments on commit f7feadb

Please sign in to comment.