This repository was archived by the owner on May 11, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 11import {
2- loadModerationData ,
32 containsFlaggedLinks ,
4- setData ,
3+ flaggedAddresses ,
54 flaggedLinks ,
6- flaggedAddresses
5+ loadModerationData ,
6+ setData
77} from '../../../src/helpers/moderation' ;
88
99describe ( 'moderation' , ( ) => {
Original file line number Diff line number Diff line change 1- import poke from '../../../src/helpers/poke' ;
21import db from '../../../src/helpers/mysql' ;
2+ import poke from '../../../src/helpers/poke' ;
33import { spacesSqlFixtures } from '../../fixtures/space' ;
44
55const mockGetSpaceUri = jest . fn ( ( ) : any => {
Original file line number Diff line number Diff line change 1- import { verify , action } from '../../../src/writer/unfollow' ;
21import db , { sequencerDB } from '../../../src/helpers/mysql' ;
2+ import { action , verify } from '../../../src/writer/unfollow' ;
33import { spacesSqlFixtures } from '../../fixtures/space' ;
44
55describe ( 'writer/unfollow' , ( ) => {
Original file line number Diff line number Diff line change 1- import mysql from 'mysql' ;
2- import Pool from 'mysql/lib/Pool' ;
3- import Connection from 'mysql/lib/Connection' ;
1+ import fs from 'fs' ;
42import bluebird from 'bluebird' ;
53import 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
99const config = parse ( process . env . HUB_DATABASE_URL ) ;
Original file line number Diff line number Diff line change 1+ import omit from 'lodash/omit' ;
12import * as writer from '../../../src/writer/alias' ;
23import input from '../../fixtures/writer-payload/alias.json' ;
3- import omit from 'lodash/omit' ;
44
55describe ( 'writer/alias' , ( ) => {
66 describe ( 'verify()' , ( ) => {
You can’t perform that action at this time.
0 commit comments