Attributes now have YAML values
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { YAML } from "../../common/deps.ts";
|
||||
|
||||
globalThis.syscall = (name: string, ...args: readonly any[]) => {
|
||||
switch (name) {
|
||||
case "yaml.parse":
|
||||
return Promise.resolve(YAML.parse(args[0]));
|
||||
default:
|
||||
throw Error(`Not implemented in tests: ${name}`);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user