Skip to content

Commit

Permalink
Alphabetize imports and exports
Browse files Browse the repository at this point in the history
- alphabetized imports and exports in FlyerRepo, flyer.test, and FlyerFactory
  • Loading branch information
isaachan100 committed Apr 21, 2023
1 parent 9abdca7 commit 424c8ea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/repos/FlyerRepo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Filter from 'bad-words';
import { ObjectId } from 'mongodb';
import Fuse from 'fuse.js';
import { ObjectId } from 'mongodb';

import { Flyer, FlyerModel } from '../entities/Flyer';
import {
DEFAULT_LIMIT,
Expand Down
7 changes: 4 additions & 3 deletions src/tests/data/FlyerFactory.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/* eslint-disable no-underscore-dangle */
import { faker } from '@faker-js/faker';
import { _ } from 'underscore';
import OrganizationFactory from './OrganizationFactory';
import { Flyer } from '../../entities/Flyer';
import { faker } from '@faker-js/faker';

import FactoryUtils from './FactoryUtils';
import { Flyer } from '../../entities/Flyer';
import OrganizationFactory from './OrganizationFactory';

class FlyerFactory {
public static async create(n: number): Promise<Flyer[]> {
Expand Down
7 changes: 4 additions & 3 deletions src/tests/flyer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable dot-notation */
import { faker } from '@faker-js/faker';
import { FlyerModel } from '../entities/Flyer';
import FlyerRepo from '../repos/FlyerRepo';
import OrganizationRepo from '../repos/OrganizationRepo';

import FactoryUtils from './data/FactoryUtils';
import FlyerFactory from './data/FlyerFactory';
import { FlyerModel } from '../entities/Flyer';
import FlyerRepo from '../repos/FlyerRepo';
import OrganizationFactory from './data/OrganizationFactory';
import OrganizationRepo from '../repos/OrganizationRepo';

import { dbConnection, disconnectDB } from './data/TestingDBConnection';

Expand Down

0 comments on commit 424c8ea

Please sign in to comment.