Skip to content

Commit

Permalink
try on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Jan 11, 2019
1 parent e7f947b commit f460f71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion default_app/menu.js
Expand Up @@ -54,4 +54,4 @@ const setDefaultApplicationMenu = () => {

module.exports = {
setDefaultApplicationMenu
}
}
5 changes: 2 additions & 3 deletions spec/api-shell-spec.js
Expand Up @@ -20,7 +20,6 @@ describe('shell module', () => {
let envVars = {}

beforeEach(function () {
if (process.platform === 'win32') this.skip()
envVars = {
display: process.env.DISPLAY,
de: process.env.DE,
Expand All @@ -37,7 +36,7 @@ describe('shell module', () => {
}
})

it('opens an external link asynchronously', function (done) {
it('opens an external link asynchronously', done => {
const url = 'http://www.example.com'
if (process.platform === 'linux') {
process.env.BROWSER = '/bin/true'
Expand All @@ -48,7 +47,7 @@ describe('shell module', () => {
shell.openExternal(url).then(() => done())
})

it('opens an external link synchronously', function () {
it('opens an external link synchronously', () => {
const url = 'http://www.example.com'
if (process.platform === 'linux') {
process.env.DE = 'generic'
Expand Down

0 comments on commit f460f71

Please sign in to comment.