release: prepare August 1 Android RC
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import assert from 'node:assert/strict';
|
||||
import { readFile } from 'node:fs/promises';
|
||||
import test from 'node:test';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
const source = (path) => readFile(new URL(path, import.meta.url), 'utf8');
|
||||
|
||||
@@ -141,13 +142,13 @@ test('工作上报服务声明整理契约并在正式提交携带 requestId', a
|
||||
|
||||
test('幂等键与异步账号守卫是可执行行为,不只是源码字符串', async (context) => {
|
||||
const { createServer } = await import('vite');
|
||||
const root = new URL('../', import.meta.url).pathname;
|
||||
const root = fileURLToPath(new URL('../', import.meta.url));
|
||||
const server = await createServer({
|
||||
root,
|
||||
configFile: false,
|
||||
appType: 'custom',
|
||||
logLevel: 'silent',
|
||||
resolve: { alias: { '@': new URL('../src', import.meta.url).pathname } },
|
||||
resolve: { alias: { '@': fileURLToPath(new URL('../src', import.meta.url)) } },
|
||||
server: { middlewareMode: true }
|
||||
});
|
||||
context.after(() => server.close());
|
||||
|
||||
Reference in New Issue
Block a user