Skip to content

Commit

Permalink
chore: added missing bun test
Browse files Browse the repository at this point in the history
  • Loading branch information
petertonysmith94 committed Jun 20, 2024
1 parent 7308edf commit 31f4af8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/create-fuels/src/lib/setupProgram.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import { setupProgram } from './setupProgram';
describe('setupProgram', () => {
test('setupProgram takes in args properly', () => {
const program = setupProgram();
program.parse(['', '', 'test-project-name', '-c', '-p', '-s', '--pnpm', '--npm']);
program.parse(['', '', 'test-project-name', '-c', '-p', '-s', '--pnpm', '--npm', '--bun']);
expect(program.args[0]).toBe('test-project-name');
expect(program.opts().contract).toBe(true);
expect(program.opts().predicate).toBe(true);
expect(program.opts().script).toBe(true);
expect(program.opts().pnpm).toBe(true);
expect(program.opts().npm).toBe(true);
expect(program.opts().bun).toBe(true);
});

test('setupProgram takes in combined args properly', () => {
Expand Down

0 comments on commit 31f4af8

Please sign in to comment.