MCPcopy Create free account
hub / github.com/Botloader/botloader / compile

Function compile

components/tscompiler/src/compiler.rs:80–83  ·  view source on GitHub ↗
(input: &str, expected_output: &str)

Source from the content-addressed store, hash-verified

78 use crate::compile_typescript;
79
80 fn compile(input: &str, expected_output: &str) {
81 let output = compile_typescript(input, "test.ts".to_owned()).unwrap();
82 assert_eq!(output.output, expected_output);
83 }
84
85 #[test]
86 fn tst_simple() {

Callers 1

tst_simpleFunction · 0.85

Calls 1

compile_typescriptFunction · 0.85

Tested by 1

tst_simpleFunction · 0.68