Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 377ee62

Browse files
committedFeb 23, 2016
replace globals by eslint-env mocha
1 parent 37f91f1 commit 377ee62

21 files changed

+21
-61
lines changed
 

‎tests/test-cli/index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, before, after */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const fs = require('fs')
64
const ncp = require('ncp').ncp

‎tests/test-cli/test-bootstrap.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, before, after, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64
const nexpect = require('nexpect')

‎tests/test-cli/test-config.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, before, after, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64
const nexpect = require('nexpect')

‎tests/test-cli/test-id.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, before, after, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64
const nexpect = require('nexpect')

‎tests/test-cli/test-version.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, before, after, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64
const nexpect = require('nexpect')

‎tests/test-core/browser.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* globals describe, before */
1+
/* eslint-env mocha */
22

33
const async = require('async')
44
const store = require('idb-plus-blob-store')

‎tests/test-core/index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, before, after */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const fs = require('fs')
64
const ncp = require('ncp').ncp

‎tests/test-core/test-block.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64
const base58 = require('bs58')

‎tests/test-core/test-bootstrap.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64

‎tests/test-core/test-config.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64
const IPFS = require('../../src/ipfs-core')

‎tests/test-core/test-id.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64

‎tests/test-core/test-object.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, before, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64
const IPFS = require('../../src/ipfs-core')

‎tests/test-core/test-version.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64

‎tests/test-http-api/index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, before, after */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const fs = require('fs')
64
const expect = require('chai').expect

‎tests/test-http-api/test-block.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
// const expect = require('chai').expect
64
// const APIctl = require('ipfs-api')

‎tests/test-http-api/test-bootstrap.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
// const expect = require('chai').expect
64

‎tests/test-http-api/test-config.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
// const expect = require('chai').expect
64
// const APIctl = require('ipfs-api')

‎tests/test-http-api/test-id.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64
const APIctl = require('ipfs-api')

‎tests/test-http-api/test-object.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
// const expect = require('chai').expect
64
// const APIctl = require('ipfs-api')

‎tests/test-http-api/test-repo.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
// const expect = require('chai').expect
64
// const APIctl = require('ipfs-api')

‎tests/test-http-api/test-version.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* globals describe, it */
2-
3-
'use strict'
1+
/* eslint-env mocha */
42

53
const expect = require('chai').expect
64
const APIctl = require('ipfs-api')

0 commit comments

Comments
 (0)
This repository has been archived.