Skip to content

Commit

Permalink
test: Fixed test settings
Browse files Browse the repository at this point in the history
  • Loading branch information
theblockstalk committed Aug 30, 2023
1 parent c7cfbc8 commit 792cdb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/communication/transform-vc/transform-vc.pipe.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { MessageDto } from '../dto/message.dto';
import { TransformVcPipe } from './transform-vc.pipe';
import { HttpException } from '@nestjs/common';

setSettings({});
setSettings({
blockchainUrl: 'http://localhost:8888',
});

describe('TransformVcPipe', () => {
it('should be defined', () => {
expect(new TransformVcPipe()).toBeDefined();
Expand Down
1 change: 0 additions & 1 deletion src/communication/transform-vc/transform-vc.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
Injectable,
PipeTransform,
} from '@nestjs/common';
import { WsException } from '@nestjs/websockets';
import { MessageDto, MessageRto } from '../dto/message.dto';

@Injectable()
Expand Down

0 comments on commit 792cdb3

Please sign in to comment.