mirror of
https://github.com/gorules/zen.git
synced 2026-10-04 00:02:18 +00:00
11 lines
306 B
TypeScript
11 lines
306 B
TypeScript
import { ZenEngine } from './index';
|
|
import fs from 'fs/promises';
|
|
import path from 'path';
|
|
|
|
const testDataRoot = path.join(__dirname, '../../', 'test-data');
|
|
const loader = async (key: string) => fs.readFile(path.join(testDataRoot, key));
|
|
|
|
|
|
const engine = new ZenEngine({ loader });
|
|
|
|
console.log('hello'); |