Sort imports and requires (#3056)

This will definitely save time, and ensure more uniformity.

It moves the `createServiceTester()` calls to a different place from where I'd like them, though I'm happy to have them checked by the linter.

Closes #2701
This commit is contained in:
Paul Melnikow
2019-02-21 22:14:40 -05:00
committed by GitHub
parent f6628e62b7
commit 4bd16f93e8
168 changed files with 81 additions and 200 deletions

View File

@@ -1,8 +1,8 @@
'use strict'
const KeybaseProfile = require('./keybase-profile')
const Joi = require('joi')
const { nonNegativeInteger } = require('../validators')
const KeybaseProfile = require('./keybase-profile')
const bitcoinAddressSchema = Joi.object({
status: Joi.object({

View File

@@ -2,7 +2,6 @@
const Joi = require('joi')
const { withRegex } = require('../test-validators')
const t = (module.exports = require('../tester').createServiceTester())
t.create('existing bitcoin address')

View File

@@ -1,8 +1,8 @@
'use strict'
const KeybaseProfile = require('./keybase-profile')
const Joi = require('joi')
const { nonNegativeInteger } = require('../validators')
const KeybaseProfile = require('./keybase-profile')
const keyFingerprintSchema = Joi.object({
status: Joi.object({

View File

@@ -1,7 +1,6 @@
'use strict'
const Joi = require('joi')
const t = (module.exports = require('../tester').createServiceTester())
t.create('existing key fingerprint')

View File

@@ -1,8 +1,8 @@
'use strict'
const KeybaseProfile = require('./keybase-profile')
const Joi = require('joi')
const { nonNegativeInteger } = require('../validators')
const KeybaseProfile = require('./keybase-profile')
const stellarAddressSchema = Joi.object({
status: Joi.object({

View File

@@ -2,7 +2,6 @@
const Joi = require('joi')
const { withRegex } = require('../test-validators')
const t = (module.exports = require('../tester').createServiceTester())
t.create('existing stellar address')

View File

@@ -1,8 +1,8 @@
'use strict'
const KeybaseProfile = require('./keybase-profile')
const Joi = require('joi')
const { nonNegativeInteger } = require('../validators')
const KeybaseProfile = require('./keybase-profile')
const zcachAddressSchema = Joi.object({
status: Joi.object({

View File

@@ -2,7 +2,6 @@
const Joi = require('joi')
const { withRegex } = require('../test-validators')
const t = (module.exports = require('../tester').createServiceTester())
t.create('existing zcash address')