Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeckem committed Oct 23, 2024
1 parent 58d8882 commit 126509d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/packages/runtime/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export enum ErrorId {
NOT_MOUNTED = "runtime:element-not-mounted",
UNSUPPORTED_LOCALE = "runtime:unsupported-locale",
CONFIG_RESOLUTION_FAILED = "runtime:config-resolution-failed",
INVALID_STATE = "runtime:invalide-state",
INVALID_STATE = "runtime:invalid-state",

// Service layer
INTERFACE_NOT_FOUND = "runtime:interface-not-found",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`integration for error screen > should throw an error when trying to access a service on an error screen 1`] = `[Error: runtime:invalide-state: Hook cannot be used within the error screen.]`;
exports[`integration for error screen > should throw an error when trying to access a service on an error screen 1`] = `[Error: runtime:invalid-state: Hook cannot be used within the error screen.]`;

exports[`reports a helpful error when package metadata is missing 1`] = `[Error: runtime:missing-package: Package 'packageMissingFromMetadata' was not found in the application's metadata while it attempted to reference the interface 'test.Provider'. Check that the dependency is declared correctly in the packages that use 'packageMissingFromMetadata'.]`;

Expand Down

0 comments on commit 126509d

Please sign in to comment.