Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit 0ebe3fc

Browse files
authored
Merge branch 'master' into fix/alias-duplicate-check
2 parents aecd501 + 8c2caaa commit 0ebe3fc

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.3",
44
"license": "MIT",
55
"scripts": {
6-
"lint": "eslint src/ --ext .ts",
6+
"lint": "eslint src/ test/ --ext .ts",
77
"lint:fix": "yarn lint --fix",
88
"typecheck": "tsc --noEmit",
99
"build": "tsc",

test/integration/helpers/moderation.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import {
2-
loadModerationData,
32
containsFlaggedLinks,
4-
setData,
3+
flaggedAddresses,
54
flaggedLinks,
6-
flaggedAddresses
5+
loadModerationData,
6+
setData
77
} from '../../../src/helpers/moderation';
88

99
describe('moderation', () => {

test/integration/helpers/poke.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import poke from '../../../src/helpers/poke';
21
import db from '../../../src/helpers/mysql';
2+
import poke from '../../../src/helpers/poke';
33
import { spacesSqlFixtures } from '../../fixtures/space';
44

55
const mockGetSpaceUri = jest.fn((): any => {

test/integration/writer/unfollows.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { verify, action } from '../../../src/writer/unfollow';
21
import db, { sequencerDB } from '../../../src/helpers/mysql';
2+
import { action, verify } from '../../../src/writer/unfollow';
33
import { spacesSqlFixtures } from '../../fixtures/space';
44

55
describe('writer/unfollow', () => {

test/setupDb.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import mysql from 'mysql';
2-
import Pool from 'mysql/lib/Pool';
3-
import Connection from 'mysql/lib/Connection';
1+
import fs from 'fs';
42
import bluebird from 'bluebird';
53
import parse from 'connection-string';
6-
import fs from 'fs';
4+
import mysql from 'mysql';
5+
import Connection from 'mysql/lib/Connection';
6+
import Pool from 'mysql/lib/Pool';
77

88
// @ts-ignore
99
const config = parse(process.env.HUB_DATABASE_URL);

test/unit/writer/alias.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import omit from 'lodash/omit';
12
import * as writer from '../../../src/writer/alias';
23
import input from '../../fixtures/writer-payload/alias.json';
3-
import omit from 'lodash/omit';
44

55
describe('writer/alias', () => {
66
describe('verify()', () => {

0 commit comments

Comments
 (0)