avocadowastaken/rapidbundle

View on GitHub
examples/bin-multiple/__snapshots__/integration.test.ts.snap

Summary

Maintainability
Test Coverage
// Vitest Snapshot v1

exports[`bin-multiple > dist 1`] = `
[
  "hello.js",
  "hi.js",
]
`;

exports[`bin-multiple > dist/hello.js 1`] = `
#!/usr/bin/env node
"use strict";console.log(\`Hello, \${process.argv[3]}\`);

`;

exports[`bin-multiple > dist/hi.js 1`] = `
#!/usr/bin/env node
"use strict";console.log(\`Hello, \${process.argv[3]}\`);

`;

exports[`bin-multiple > logs 1`] = `
✔ Resolving build manifests
  ─ ℹ Checking 'action.yml'
  ─ ℹ Checking 'package.json'
  ✔ Run preparations
  ─ ℹ Removing 'dist' directory
  ✔ Making bundle from 'package.json'
  › ✔ Parsing 'package.json'
  › ✔ Making '.bin' entry bundle
    ─ ℹ Using '.bin.hello' entry: src/hello.ts
    ─ ℹ Using '.bin.hi' entry: src/hi.ts
------
Exit Code: 0
`;