fix up "atleast" -> "at least"

Change-type: patch
Signed-off-by: Matthew McGinn <matthew@balena.io>
This commit is contained in:
Matthew McGinn 2020-07-29 11:55:22 -04:00
parent 95e0a7d83d
commit 15c57a86b4
No known key found for this signature in database
GPG Key ID: 4FC50B47B75F63D8
6 changed files with 6 additions and 6 deletions

View File

@ -267,7 +267,7 @@ The --grep option, when specified, will trigger mocha to only run tests matching
## Troubleshooting
Make sure you are running atleast:
Make sure you are running at least:
```sh
node -v # >= 12.16.2

View File

@ -110,7 +110,7 @@ export class APIBinder {
if (!stateReportHealthy) {
log.info(
stripIndent`
Healthcheck failure - Atleast ONE of the following conditions must be true:
Healthcheck failure - At least ONE of the following conditions must be true:
- No connectivityCheckEnabled ? ${!(connectivityCheckEnabled === true)}
- device state is disconnected ? ${!(this.deviceState.connected === true)}
- stateReportErrors less then 3 ? ${CurrentState.stateReportErrors < 3}`,

View File

@ -284,7 +284,7 @@ export class DeviceState extends (EventEmitter as new () => DeviceStateEventEmit
if (!applyTargetHealthy) {
log.info(
stripIndent`
Healthcheck failure - Atleast ONE of the following conditions must be true:
Healthcheck failure - At least ONE of the following conditions must be true:
- No applyInProgress ? ${!(this.applyInProgress === true)}
- fetchesInProgress ? ${this.applications.fetchesInProgress > 0}
- cycleTimeWithinInterval ? ${cycleTimeWithinInterval}`,

View File

@ -439,7 +439,7 @@ describe('deviceState', () => {
expect(Log.info).to.be.calledOnce;
expect((Log.info as SinonSpy).lastCall?.lastArg).to.equal(
stripIndent`
Healthcheck failure - Atleast ONE of the following conditions must be true:
Healthcheck failure - At least ONE of the following conditions must be true:
- No applyInProgress ? false
- fetchesInProgress ? false
- cycleTimeWithinInterval ? false`,

View File

@ -450,7 +450,7 @@ describe('ApiBinder', () => {
expect(Log.info).to.be.calledOnce;
expect((Log.info as SinonSpy).lastCall?.lastArg).to.equal(
stripIndent`
Healthcheck failure - Atleast ONE of the following conditions must be true:
Healthcheck failure - At least ONE of the following conditions must be true:
- No connectivityCheckEnabled ? false
- device state is disconnected ? false
- stateReportErrors less then 3 ? false`,

View File

@ -57,7 +57,7 @@ const STUBBED_VALUES = {
* AND MULTIPLE TEST CASES WILL USE THEM THEN ADD THEM HERE
* OTHERWISE YOU CAN ADD STUBS ON A PER TEST CASE BASIS
*
* EXAMPLE: We stub ApplicationManager so there is atleast 1 running app
* EXAMPLE: We stub ApplicationManager so there is at least 1 running app
*
* You can see all the stubbed values convientiely in STUBBED_VALUES.
*