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:
@@ -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({
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
const Joi = require('joi')
|
||||
|
||||
const t = (module.exports = require('../tester').createServiceTester())
|
||||
|
||||
t.create('existing key fingerprint')
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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')
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user