import assert from 'node:assert/strict'; import { describe, it } from 'node:test'; import { intro } from '../dist/index.js'; import { setup } from './utils.js'; describe('intro', () => { const fixture = setup(); it('no arguments', async () => { await intro({ skipHouston: false, version: '0.0.0', username: 'user' }); assert.ok(fixture.hasMessage('Houston:')); assert.ok(fixture.hasMessage('Welcome to astro v0.0.0')); }); it('--skip-houston', async () => { await intro({ skipHouston: true, version: '0.0.0', username: 'user' }); assert.equal(fixture.length(), 1); assert.ok(!fixture.hasMessage('Houston:')); assert.ok(fixture.hasMessage('Launch sequence initiated')); }); }); ependabot/cargo/petgraph-0.7.1'>dependabot/cargo/petgraph-0.7.1 Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/LICENSE (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2024-09-13fix: add underscore to `KEY_REGEX`Gravatar Anshul Gupta 1-2/+2
2024-09-13fix: pagination `Links` header parsing bugGravatar Anshul Gupta 2-4/+6
2024-09-12chore: releaseGravatar github-actions[bot] 2-1/+9
2024-09-11refactor: move transport to subtraitGravatar Anshul Gupta 2-5/+6
2024-09-10build(deps): bump EmbarkStudios/cargo-deny-action from 1 to 2Gravatar dependabot[bot] 1-1/+1