From a263230559b1617f279247ef6891a1ff0ab6aeb2 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Sun, 17 Mar 2024 21:19:27 -0400 Subject: [PATCH] Fix linting errors. --- test/Ed25519Multikey.spec.js | 4 ++-- test/compatibility.spec.js | 4 ++-- test/sign-verify.spec.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/Ed25519Multikey.spec.js b/test/Ed25519Multikey.spec.js index 51dee3f..0675b2b 100644 --- a/test/Ed25519Multikey.spec.js +++ b/test/Ed25519Multikey.spec.js @@ -1,9 +1,9 @@ /*! - * Copyright (c) 2020-2022 Digital Bazaar, Inc. All rights reserved. + * Copyright (c) 2020-2024 Digital Bazaar, Inc. All rights reserved. */ -import chai from 'chai'; import * as base58btc from 'base58-universal'; import {mockKey, seed} from './mock-data.js'; +import chai from 'chai'; import multibase from 'multibase'; import multicodec from 'multicodec'; const should = chai.should(); diff --git a/test/compatibility.spec.js b/test/compatibility.spec.js index 1d6724c..b6ff803 100644 --- a/test/compatibility.spec.js +++ b/test/compatibility.spec.js @@ -1,13 +1,13 @@ /*! - * Copyright (c) 2020-2022 Digital Bazaar, Inc. All rights reserved. + * Copyright (c) 2020-2024 Digital Bazaar, Inc. All rights reserved. */ import chai from 'chai'; chai.should(); import * as Ed25519Multikey from '../lib/index.js'; -import {stringToUint8Array} from './text-encoder.js'; import * as StableLibEd25519 from '@stablelib/ed25519'; import {randomBytes} from 'node:crypto'; +import {stringToUint8Array} from './text-encoder.js'; import {promisify} from 'node:util'; diff --git a/test/sign-verify.spec.js b/test/sign-verify.spec.js index 12d857b..c79a4e4 100644 --- a/test/sign-verify.spec.js +++ b/test/sign-verify.spec.js @@ -1,13 +1,13 @@ /*! - * Copyright (c) 2020 Digital Bazaar, Inc. All rights reserved. + * Copyright (c) 2020-2024 Digital Bazaar, Inc. All rights reserved. */ import chai from 'chai'; chai.should(); +import * as base58btc from 'base58-universal'; import * as Ed25519Multikey from '../lib/index.js'; import {mockKey, suites} from './mock-data.js'; import {stringToUint8Array} from './text-encoder.js'; -import * as base58btc from 'base58-universal'; const keyPair = await Ed25519Multikey.from({ controller: 'did:example:1234',