Skip to content

Commit

Permalink
Fixed 'receiving' typos (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
natalia-davis-fu3e authored Nov 26, 2024
1 parent ae5ecef commit 7144cdb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/cli-build/src/wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function logProgress({
case undefined:
return log.progress('Waiting for build...');
case 'pending':
return log.progress('Recieving snapshots...');
return log.progress('Receiving snapshots...');
case 'processing':
return log.progress(`Processing ${count} snapshots - ` + (
finished === total ? 'finishing up...' : (
Expand Down
4 changes: 2 additions & 2 deletions packages/cli-build/test/wait.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('percy build:wait', () => {
]));
});

it('logs while recieving snapshots', async () => {
it('logs while receiving snapshots', async () => {
api
.reply('/builds/123', () => [200, build({
state: 'pending'
Expand All @@ -74,7 +74,7 @@ describe('percy build:wait', () => {

expect(logger.stderr).toEqual(['[percy] Ignoring interval since it cannot be less than 1000ms.']);
expect(logger.stdout).toEqual(jasmine.arrayContaining([
'[percy] Recieving snapshots...'
'[percy] Receiving snapshots...'
]));
});

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export function createPercyServer(percy, port) {

res.json(200, { success: true, data: data });
})
// Recieves events from sdk's.
// Receives events from sdk's.
.route('post', '/percy/events', async (req, res) => {
const body = percyBuildEventHandler(req, pkg.version);
await percy.client.sendBuildEvents(percy.build?.id, body);
Expand Down
2 changes: 1 addition & 1 deletion scripts/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const MOCK_REG = /^mock:\/\/|\?.+$/g;
// global mocks can be added from tests
export const MOCK_IMPORTS = global.__MOCK_IMPORTS__ = global.__MOCK_IMPORTS__ ||
new Proxy(Object.assign(new Map(), { __uid__: 0 }), {
get(target, prop, reciever) {
get(target, prop, receiver) {
if (typeof target[prop] !== 'function') return target[prop];

return prop === 'set' ? (key, value) => {
Expand Down

0 comments on commit 7144cdb

Please sign in to comment.