mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Use node protocol when importing builtins
This commit is contained in:
@@ -2,7 +2,7 @@ import { resolveAssetPath } from '../../../../src/util/PathUtil';
|
||||
import { getTemplateFilePath, readTemplate } from '../../../../src/util/templates/TemplateUtil';
|
||||
import { mockFileSystem } from '../../../util/Util';
|
||||
|
||||
jest.mock('fs');
|
||||
jest.mock('node:fs');
|
||||
|
||||
describe('TemplateUtil', (): void => {
|
||||
describe('#getTemplateFilePath', (): void => {
|
||||
|
||||
Reference in New Issue
Block a user