Skip to content

Commit 4f4263f

Browse files
committed
Trying out something
1 parent 15229ce commit 4f4263f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

services/collaboration/tests/controllers/roomController.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import dotenv from "dotenv";
2-
dotenv.config();
2+
dotenv.config({path: "../../.env.sample"});
33
import chai, { expect } from "chai";
44
import sinon, { SinonStub } from "sinon";
55
import sinonChai from "sinon-chai";

services/collaboration/tests/events/broker.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import dotenv from "dotenv";
2-
dotenv.config();
2+
dotenv.config({path: "../../.env.sample"});
33
import { expect } from "chai";
44
import sinon, { SinonStub } from "sinon";
55
import client, { Channel, Connection } from "amqplib";

services/collaboration/tests/events/consumer.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import dotenv from "dotenv";
2-
dotenv.config();
2+
dotenv.config({path: "../../.env.sample"});
33
import { expect } from "chai";
44
import sinon, { SinonStub } from "sinon";
55
import {

services/collaboration/tests/events/producer.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import dotenv from "dotenv";
2-
dotenv.config();
2+
dotenv.config({path: "../../.env.sample"});
33
import { expect } from "chai";
44
import sinon, { SinonStub } from "sinon";
55
import {

services/question/tests/events/broker.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import dotenv from 'dotenv';
2-
dotenv.config();
2+
dotenv.config({path: "../../.env.sample"});
33
import { expect } from 'chai';
44
import sinon, { SinonStub } from 'sinon';
55
import client, { Channel, Connection } from 'amqplib';

services/question/tests/events/producer.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import dotenv from 'dotenv';
2-
dotenv.config();
2+
dotenv.config({path: "../../.env.sample"});
33
import { expect } from 'chai';
44
import sinon, { SinonStub } from 'sinon';
55
import * as producer from '../../src/events/producer';

0 commit comments

Comments
 (0)