mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-10 21:49:15 +00:00
eslint: Fix outstanding naming issues
This commit is contained in:
parent
6d387412af
commit
37a5cd5c8b
@ -92,7 +92,7 @@ describe("ReconnectingSocket", () => {
|
||||
|
||||
describe("reconnection", () => {
|
||||
const dirPath = "../../scripts/socketserver";
|
||||
const PKILL_NO_PROCESSES_MATCHED = 1;
|
||||
const codePkillNoProcessesMatched = 1;
|
||||
const startServerCmd = `${dirPath}/start.sh`;
|
||||
const stopServerCmd = `${dirPath}/stop.sh`;
|
||||
|
||||
@ -101,7 +101,7 @@ describe("ReconnectingSocket", () => {
|
||||
pendingWithoutSocketServer();
|
||||
|
||||
exec!(stopServerCmd, (stopError) => {
|
||||
if (stopError && stopError.code !== PKILL_NO_PROCESSES_MATCHED) {
|
||||
if (stopError && stopError.code !== codePkillNoProcessesMatched) {
|
||||
done.fail(stopError);
|
||||
}
|
||||
|
||||
@ -164,7 +164,7 @@ describe("ReconnectingSocket", () => {
|
||||
setTimeout(
|
||||
() =>
|
||||
exec!(stopServerCmd, (stopError) => {
|
||||
if (stopError && stopError.code !== PKILL_NO_PROCESSES_MATCHED) {
|
||||
if (stopError && stopError.code !== codePkillNoProcessesMatched) {
|
||||
done.fail(stopError);
|
||||
}
|
||||
|
||||
|
@ -220,8 +220,8 @@ export interface Commit {
|
||||
* raw values from https://github.com/tendermint/tendermint/blob/dfa9a9a30a666132425b29454e90a472aa579a48/types/vote.go#L44
|
||||
*/
|
||||
export enum VoteType {
|
||||
PREVOTE = 1,
|
||||
PRECOMMIT = 2,
|
||||
PreVote = 1,
|
||||
PreCommit = 2,
|
||||
}
|
||||
|
||||
export interface Vote {
|
||||
|
4
packages/tendermint-rpc/types/responses.d.ts
vendored
4
packages/tendermint-rpc/types/responses.d.ts
vendored
@ -175,8 +175,8 @@ export interface Commit {
|
||||
* raw values from https://github.com/tendermint/tendermint/blob/dfa9a9a30a666132425b29454e90a472aa579a48/types/vote.go#L44
|
||||
*/
|
||||
export declare enum VoteType {
|
||||
PREVOTE = 1,
|
||||
PRECOMMIT = 2,
|
||||
PreVote = 1,
|
||||
PreCommit = 2,
|
||||
}
|
||||
export interface Vote {
|
||||
readonly type: VoteType;
|
||||
|
Loading…
x
Reference in New Issue
Block a user