Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-rr committed May 2, 2024
1 parent 6f0f0dc commit 57a7d11
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/integration/config/analytics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,16 @@ describe('config:analytics', () => {
done();
});
});

describe('with status flag', () => {
test
.stderr()
.stdout()
.command(['config:analytics', '--status'])
.it('should show a different informational message depending on the analytics status', (ctx, done) => {
expect(ctx.stdout).to.contain('\nAnalytics are ');
expect(ctx.stderr).to.equal('');
done();
});
});
});

0 comments on commit 57a7d11

Please sign in to comment.