fix(config): resolve remote hierarchy in memory for every profile
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { remoteFixture } from '../fixtures/remote-config.ts';
|
||||
import assert from 'node:assert/strict';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { test } from 'node:test';
|
||||
@@ -13,7 +14,7 @@ import { FakeTransport } from '../helpers/fake-transport.ts';
|
||||
const CONFIG: RuntimeConfig = {
|
||||
mode: 'debug', isDebugger: true,
|
||||
identity: { agentid: 'A', channelid: 'C', gameid: '41', version: 1, marketid: 4 },
|
||||
source: 'direct', servers: ['ws://agent'], gameserver: null, rawConfig: null,
|
||||
source: 'remote', servers: ['ws://agent'], gameserver: 'https://fixture/config', ...remoteFixture(),
|
||||
};
|
||||
const ACCOUNT = { openid: 'o', nickname: 'n', avatar: 'a', sex: 0, province: '', city: '', unionid: 'u' };
|
||||
const LOGIN = {
|
||||
|
||||
Reference in New Issue
Block a user