Skip to content

Commit

Permalink
Merge pull request #924 from Pricstas/fix/typos
Browse files Browse the repository at this point in the history
multi: fix typos
  • Loading branch information
guggero authored Dec 26, 2024
2 parents d7869cc + 283c86b commit 1902ebb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/src/__tests__/util/appStorage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe('appStorage util', () => {
expect(data).toBeUndefined();
});

it('should save an value to sessionStorage', () => {
it('should save a value to sessionStorage', () => {
appStorage.setSession(key, 'test-value');

const value = sessionStorage.getItem(key);
Expand Down
8 changes: 4 additions & 4 deletions app/src/__tests__/util/log.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('log Util', () => {
expect(debugMock).toBeCalledWith('[warn] sample message');
});

it('should output a error log message', () => {
it('should output an error log message', () => {
log.error('sample message');
expect(debugMock).toBeCalledWith('[error] sample message');
});
Expand All @@ -84,7 +84,7 @@ describe('log Util', () => {
expect(debugMock).toBeCalledWith('[warn] sample message');
});

it('should output a error log message', () => {
it('should output an error log message', () => {
log.error('sample message');
expect(debugMock).toBeCalledWith('[error] sample message');
});
Expand All @@ -108,7 +108,7 @@ describe('log Util', () => {
expect(debugMock).toBeCalledWith('[warn] sample message');
});

it('should output a error log message', () => {
it('should output an error log message', () => {
log.error('sample message');
expect(debugMock).toBeCalledWith('[error] sample message');
});
Expand All @@ -132,7 +132,7 @@ describe('log Util', () => {
expect(debugMock).not.toBeCalledWith('[warn] sample message');
});

it('should output a error log message', () => {
it('should output an error log message', () => {
log.error('sample message');
expect(debugMock).toBeCalledWith('[error] sample message');
});
Expand Down
2 changes: 1 addition & 1 deletion app/src/store/views/appView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default class AppView {
this._store.log.info('Switch to Setting screen', name);
}

/** adds a alert to the store */
/** adds an alert to the store */
notify(message: string, title?: string, type: Alert['type'] = 'error') {
const alert: Alert = { id: Date.now(), type, message, title };
if (type === 'success') alert.ms = 3000;
Expand Down
2 changes: 1 addition & 1 deletion autopilotserver/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ type featurePerms struct {
sync.Mutex
}

// NewClient returns a autopilot-server client.
// NewClient returns an autopilot-server client.
func NewClient(cfg *Config) (Autopilot, error) {
var err error
cfg.DialOpts, err = getAutopilotServerDialOpts(
Expand Down

0 comments on commit 1902ebb

Please sign in to comment.