Skip to content

Commit

Permalink
feat: support context file location in repository
Browse files Browse the repository at this point in the history
  • Loading branch information
aeworxet committed Jul 4, 2023
1 parent 8479bbf commit 5593db7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/commands/context.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,8 @@ describe('config:context, negative scenario', () => {
.it(
'should throw error on absence of context file.',
(ctx, done) => {
expect(ctx.stdout).toEqual('');
expect(ctx.stderr).toContain(
'ContextError: These are your options to specify in the CLI what AsyncAPI file should be used:'
);
expect(ctx.stdout).toContain('You have no context configured. Run "asyncapi config context" to see all available options.');
expect(ctx.stderr).toEqual('');
done();
}
);
Expand Down

0 comments on commit 5593db7

Please sign in to comment.