Skip to content

Commit

Permalink
Delete unecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Graney-Ward committed Jun 20, 2024
1 parent 4db16fd commit baad76d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/services/api/api.contoller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ describe('ApiController', () => {
const uri = mongod.getUri();

process.env.JWT_PRIVATE_KEY = crypto.randomBytes(64).toString('hex');
process.env.ENVIRONMENT = 'local'

@Module({
imports: [
Expand Down
1 change: 0 additions & 1 deletion src/services/auth/auth.controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ describe('AuthController', () => {
const uri: string = mongod.getUri()

process.env.JWT_PRIVATE_KEY = crypto.randomBytes(64).toString('hex');
process.env.ENVIRONMENT = 'local'

@Module({
imports: [
Expand Down
4 changes: 0 additions & 4 deletions src/services/auth/auth.middleware.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ describe('AuthMiddleware', () => {
const key = new Ed25519Provider(seedBuf)
const did = new DID({ provider: key, resolver: KeyResolver.getResolver() })

beforeAll(() => {
process.env.ENVIRONMENT = 'local'
})

beforeEach(() => {
authMiddleware = new AuthMiddleware();
});
Expand Down
1 change: 0 additions & 1 deletion src/services/uploader/uploading.controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ describe('UploadingController', () => {
const uri = mongod.getUri();

process.env.JWT_PRIVATE_KEY = crypto.randomBytes(64).toString('hex');
process.env.ENVIRONMENT = 'local'

@Module({
imports: [
Expand Down

0 comments on commit baad76d

Please sign in to comment.