mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Use linked compilation in test_inputs.rs and add test
This commit is contained in:
3
inputs/passing/helpers/foo.ts
Normal file
3
inputs/passing/helpers/foo.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default function foo() {
|
||||
return "this is the foo function";
|
||||
}
|
||||
7
inputs/passing/importFoo.ts
Normal file
7
inputs/passing/importFoo.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
// test_output! "this is the foo function"
|
||||
|
||||
import foo from "./helpers/foo.ts";
|
||||
|
||||
export default function () {
|
||||
return foo();
|
||||
}
|
||||
Reference in New Issue
Block a user