Skip to content

Commit

Permalink
fix: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenesius committed Dec 9, 2023
1 parent 126a934 commit 6116299
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/utils/compare-changes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export function compareMergeChanges(sourceValue: any, changes: any) {
}

function step(this: CompareState, newValue: any, oldValue: any, name: string): any {
console.log("=", newValue, oldValue)
// Если оба значения конечны.
if ( !isIterablePoint(newValue) && !isIterablePoint(oldValue)){
if (!isSimpleEqual(newValue, oldValue))
Expand All @@ -77,8 +76,6 @@ function step(this: CompareState, newValue: any, oldValue: any, name: string): a
else {
const changes = compare(newValue, oldValue, name);

console.log(changes);

if (changes.length) {
this.array.push({ name, newValue, oldValue })
this.array.push(...changes);
Expand Down
1 change: 0 additions & 1 deletion tests/integrations/inputs/input-range.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ describe("Input range", () => {
expect(input.element.value).toBe("50") // по умолчанию на середине
})
test("Для пустого поля должна отображаться только метка", async () => {
console.log(app.html())
expect(app.text()).toBe(label)
})
test("При вводе значения в поле - форма должна меняться", async () => {
Expand Down

0 comments on commit 6116299

Please sign in to comment.