summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js2
-rw-r--r--Userland/Libraries/LibJS/Tests/tagged-template-literals.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js
index ba6620a118..b780cf04ff 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/Intl/Locale/Locale.prototype.hourCycles.js
@@ -23,7 +23,7 @@ describe("normal behavior", () => {
expect(new Intl.Locale("ar", { hourCycle: "h24" }).hourCycles).toEqual(["h24"]);
// Invalid hourCycles also take precedence when specified in the locale string. Unlike other
- // properties, Locale("en", { hourCycle: "ladybird" }) will explictly throw.
+ // properties, Locale("en", { hourCycle: "ladybird" }) will explicitly throw.
expect(new Intl.Locale("en-u-hc-ladybird").hourCycles).toEqual(["ladybird"]);
});
});
diff --git a/Userland/Libraries/LibJS/Tests/tagged-template-literals.js b/Userland/Libraries/LibJS/Tests/tagged-template-literals.js
index de8598122b..620566a1a3 100644
--- a/Userland/Libraries/LibJS/Tests/tagged-template-literals.js
+++ b/Userland/Libraries/LibJS/Tests/tagged-template-literals.js
@@ -106,7 +106,7 @@ describe("tagged template literal functionality", () => {
expect(raw[1]).toBe("\\nbar");
});
- test("invalid escapes give undefined cooked values but can be accesed in raw form", () => {
+ test("invalid escapes give undefined cooked values but can be accessed in raw form", () => {
let calls = 0;
let lastValue = null;
function noCookedButRaw(values) {