diff --git a/src/core/util/hash_code.ts b/src/core/util/hash_code.ts
index b1dea9d9f71..febfbc6ae5f 100644
--- a/src/core/util/hash_code.ts
+++ b/src/core/util/hash_code.ts
@@ -1,9 +1,8 @@
-
export function hashCode(text: string, hash: number = 0) {
if (text.length === 0) return hash;
for (let i = 0; i < text.length; i++) {
const chr = text.charCodeAt(i);
- hash = ((hash << 5) - hash) + chr;
+ hash = (hash << 5) - hash + chr;
hash |= 0; // Convert to 32bit integer
}
return Number(Math.abs(hash)).toString(36);
diff --git a/src/testing/expect-dom.unit.tsx b/src/testing/expect-dom.unit.tsx
index 228101d466a..85a8d35abe2 100644
--- a/src/testing/expect-dom.unit.tsx
+++ b/src/testing/expect-dom.unit.tsx
@@ -95,9 +95,6 @@ function toHTML(node: any) {
}
}
-
-
-
describe('expect-dom', () => {
it('should match element', () => {
expectDOM(toDOM(''), );