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

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoffer Åström committed Nov 7, 2017
1 parent f38cacf commit 40e0edf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
1 change: 0 additions & 1 deletion examples/es2015/a.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const { expect } = chai;

describe('es2015 - a', () => {
it('should return "a"', () => {
debugger;
expect(getA()).to.equal('a');
});
});
1 change: 1 addition & 0 deletions examples/es2015/main.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* globals requirejs, window */
(() => {
requirejs.config({
paths: {
Expand Down
2 changes: 1 addition & 1 deletion examples/requirejs/a.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'use strict';

define([], function a() { return 'a'; });
define([], function () { return 'a'; });
2 changes: 2 additions & 0 deletions examples/requirejs/aw.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

module.exports = {
'instrument.exclude': [
'**/coverage/**',
Expand Down
8 changes: 0 additions & 8 deletions examples/requirejs/b.js

This file was deleted.

6 changes: 4 additions & 2 deletions examples/requirejs/main.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
'use strict';

(function run() {
requirejs.config({
paths: {
chai: 'https://cdnjs.cloudflare.com/ajax/libs/chai/4.1.2/chai.min',
},
});
requirejs(window.awFiles, () => {
requirejs(window.awFiles, function () {
if (window.awDevtools) {
// We need to wait for Chrome to open the `devtools`
setTimeout(() => mocha.run(), 200);
setTimeout(function () { mocha.run(); }, 200);
return;
}
mocha.run();
Expand Down

0 comments on commit 40e0edf

Please sign in to comment.