Skip to content

Commit a26e94a

Browse files
committed
chore: fix linting errors
1 parent fb573a8 commit a26e94a

File tree

4 files changed

+28
-18
lines changed

4 files changed

+28
-18
lines changed

packages/apps-engine/tests/node-tests/server/accessors/ConfigurationModify.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { describe, it, beforeEach } from 'node:test';
21
import * as assert from 'node:assert';
2+
import { describe, it, beforeEach } from 'node:test';
3+
34
import type { ISchedulerModify, IServerSettingsModify, ISlashCommandsModify } from '../../../../src/definition/accessors';
45
import { ConfigurationModify } from '../../../../src/server/accessors';
56

packages/apps-engine/tests/node-tests/server/runtime/DenoRuntimeSubprocessController.test.ts

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as fs from 'fs/promises';
2-
import * as path from 'path';
3-
import { describe, it, beforeEach, afterEach, mock } from 'node:test';
42
import * as assert from 'node:assert';
3+
import { describe, it, beforeEach, afterEach, mock } from 'node:test';
4+
import * as path from 'path';
55

66
import { AppStatus } from '../../../../src/definition/AppStatus';
77
import { UserStatusConnection, UserType } from '../../../../src/definition/users';
@@ -63,19 +63,27 @@ describe('DenoRuntimeSubprocessController', () => {
6363

6464
assert.strictEqual(doCallSpy.mock.calls.length, 1, 'doCallSpy.mock.calls.length');
6565
const callArgs = doCallSpy.mock.calls[0].arguments;
66-
assert.partialDeepStrictEqual(callArgs[0], {
67-
appId: '9c1d62ca-e40f-456f-8601-17c823a16c68',
68-
method: 'get',
69-
url: 'https://google.com',
70-
}, 'callArgs[0]');
71-
72-
assert.deepStrictEqual(r.result, {
73-
method: 'get',
74-
url: 'https://google.com',
75-
content: "{ test: 'test' }",
76-
statusCode: 200,
77-
headers: {},
78-
}, 'r.result');
66+
assert.partialDeepStrictEqual(
67+
callArgs[0],
68+
{
69+
appId: '9c1d62ca-e40f-456f-8601-17c823a16c68',
70+
method: 'get',
71+
url: 'https://google.com',
72+
},
73+
'callArgs[0]',
74+
);
75+
76+
assert.deepStrictEqual(
77+
r.result,
78+
{
79+
method: 'get',
80+
url: 'https://google.com',
81+
content: "{ test: 'test' }",
82+
statusCode: 200,
83+
headers: {},
84+
},
85+
'r.result',
86+
);
7987
});
8088

8189
it('correctly identifies a call to the IRead accessor', async () => {

packages/apps-engine/tests/node-tests/server/runtime/deno/LivenessManager.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import type { ChildProcess } from 'child_process';
2-
import { describe, it, beforeEach, afterEach, mock } from 'node:test';
32
import * as assert from 'node:assert';
3+
import { describe, it, beforeEach, afterEach, mock } from 'node:test';
44
import { EventEmitter } from 'stream';
5+
56
import debugFactory from 'debug';
67

78
import type { DenoRuntimeSubprocessController } from '../../../../../src/server/runtime/deno/AppsEngineDenoRuntime';

packages/apps-engine/tests/test-data/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class TestInfastructureSetup {
8484
runInSandbox: async () => {
8585
return {} as unknown as Promise<unknown>;
8686
},
87-
stopRuntime: () => { },
87+
stopRuntime: () => {},
8888
} as unknown as AppRuntimeManager;
8989

9090
this.appManager = {

0 commit comments

Comments
 (0)