diff options
Diffstat (limited to 'tests/registry/npm/@denotest/say-hello/1.0.0/say-hello.js')
-rw-r--r-- | tests/registry/npm/@denotest/say-hello/1.0.0/say-hello.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/registry/npm/@denotest/say-hello/1.0.0/say-hello.js b/tests/registry/npm/@denotest/say-hello/1.0.0/say-hello.js index 8751b8e47..66d02cde5 100644 --- a/tests/registry/npm/@denotest/say-hello/1.0.0/say-hello.js +++ b/tests/registry/npm/@denotest/say-hello/1.0.0/say-hello.js @@ -1,2 +1,5 @@ import { sayHello } from "./index.js"; -console.log(sayHello());
\ No newline at end of file +console.log(sayHello()); +import path from "node:path"; +import fs from "node:fs"; +fs.writeSync(fs.openSync(path.join(process.env.INIT_CWD, "say-hello-output.txt"), "w"), sayHello()); |