Skip to content

Commit f6bf321

Browse files
committed
fixuP!
1 parent 2563af3 commit f6bf321

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/logger/__tests__/transports/github.test.mjs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { deepStrictEqual, strictEqual } from 'assert';
1+
import { strictEqual } from 'assert';
22
import { describe, it } from 'node:test';
33

44
import { LogLevel } from '../../constants.mjs';
@@ -24,7 +24,7 @@ describe('github', () => {
2424
);
2525

2626
strictEqual(process.stdout.write.mock.callCount(), 1);
27-
deepStrictEqual(
27+
strictEqual(
2828
callsArgs[0].trim(),
2929
'::debug::[00:00:00.000] \x1B[34mDEBUG\x1B[39m: Test message'
3030
);
@@ -48,7 +48,7 @@ describe('github', () => {
4848
);
4949

5050
strictEqual(process.stdout.write.mock.callCount(), 1);
51-
deepStrictEqual(
51+
strictEqual(
5252
callsArgs[0].trim(),
5353
'::notice ::[00:00:00.000] \x1B[32mINFO\x1B[39m: Test message'
5454
);
@@ -73,7 +73,7 @@ describe('github', () => {
7373
);
7474

7575
strictEqual(process.stdout.write.mock.callCount(), 1);
76-
deepStrictEqual(
76+
strictEqual(
7777
callsArgs[0].trim(),
7878
'::error ::[00:00:00.000] \x1B[35mERROR\x1B[39m: Test message'
7979
);
@@ -98,7 +98,7 @@ describe('github', () => {
9898
);
9999

100100
strictEqual(process.stdout.write.mock.callCount(), 1);
101-
deepStrictEqual(
101+
strictEqual(
102102
callsArgs[0].trim(),
103103
'::error ::[00:00:00.000] \x1B[31mFATAL\x1B[39m: Test message'
104104
);
@@ -132,7 +132,7 @@ describe('github', () => {
132132
);
133133

134134
strictEqual(process.stdout.write.mock.callCount(), 1);
135-
deepStrictEqual(
135+
strictEqual(
136136
callsArgs[0].trim(),
137137
'::notice file=test.md,line=1,endLine=1::[00:00:00.000] \x1B[32mINFO\x1B[39m: Test message'
138138
);
@@ -157,7 +157,7 @@ describe('github', () => {
157157
);
158158

159159
strictEqual(process.stdout.write.mock.callCount(), 1);
160-
deepStrictEqual(
160+
strictEqual(
161161
callsArgs[0].trim(),
162162
'::notice ::[00:00:00.000] \x1B[32mINFO\x1B[39m (child1): Test message'
163163
);
@@ -184,7 +184,7 @@ describe('github', () => {
184184
);
185185

186186
strictEqual(process.stdout.write.mock.callCount(), 1);
187-
deepStrictEqual(
187+
strictEqual(
188188
callsArgs[0].trim(),
189189
'::notice ::[00:00:00.000] INFO: Test message'
190190
);

0 commit comments

Comments
 (0)