Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'receiving' typos #1797

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading