Internationalization
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { readAppFile } from '../test-support/i18n.js';
|
||||
import assert from 'node:assert/strict';
|
||||
import fs from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
@@ -6,7 +7,7 @@ import test from 'node:test';
|
||||
const root = path.resolve(import.meta.dirname, '..');
|
||||
|
||||
async function read(relativePath) {
|
||||
return fs.readFile(path.join(root, relativePath), 'utf8');
|
||||
return readAppFile(relativePath);
|
||||
}
|
||||
|
||||
test('default server socket uses the local Wegwichtel endpoint', async () => {
|
||||
|
||||
Reference in New Issue
Block a user