Skip to content

Commit

Permalink
Fixed the regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Oct 3, 2017
1 parent 6446b9e commit 0c6fd0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ root: true
extends: eslint:recommended

env:
browser: true
es6: true
mocha: true
node: true
Expand Down
6 changes: 1 addition & 5 deletions test/client.test.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
'use strict';

const {expect} = require('chai');
const {URL} = require('url');
const {Author, Client, Comment, CommentType} = require('../lib');

const isBrowser = typeof window == 'object' && typeof document == 'object' && document.nodeType == 9;
const onNodeDescribe = isBrowser ? describe.skip : describe;

/**
* @test {Client}
*/
onNodeDescribe('Client', function() {
describe('Client', function() {
this.timeout(15000);
let _client = new Client(process.env.AKISMET_API_KEY, 'https://github.com/cedx/akismet.js', {isTest: true});

Expand Down

0 comments on commit 0c6fd0a

Please sign in to comment.