We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dbf41b commit 657e091Copy full SHA for 657e091
1 file changed
packages/contentstack-config/test/unit/commands/rate-limit.test.ts
@@ -137,7 +137,10 @@ describe('Rate Limit Commands', () => {
137
it('Get Rate Limit: should print the rate limit for the given organization', async () => {
138
configHandler.set('rateLimit', rateLimit);
139
await GetRateLimitCommand.run(['--org', 'test-org-id']);
140
- expect(printMessage).to.include(' test-org-id 10(70%) 0 1(80%) ');
+ expect(printMessage).to.include('test-org-id');
141
+ expect(printMessage).to.include('10(70%)');
142
+ expect(printMessage).to.include('0');
143
+ expect(printMessage).to.include('1(80%)');
144
});
145
146
it('Get Rate Limit: should throw an error if the organization is not found', async () => {
0 commit comments