MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / writeTestFile

Function writeTestFile

test/packager-tests.ts:33–35  ·  view source on GitHub ↗
(filepath: string)

Source from the content-addressed store, hash-verified

31import {newTempDir} from './utils.js';
32
33async function writeTestFile(filepath: string) {
34 return fs.writeFile(filepath, '#!/bin/sh\n\necho Hello, world!\n\n');
35}
36
37describe('Packager', () => {
38 it('should be able to package 1 file', async () => {

Callers 1

packager-tests.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected