Skip to content

Commit

Permalink
Rremove funding, remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
PuruVJ committed Jul 10, 2024
1 parent bedda6f commit 156101f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
12 changes: 0 additions & 12 deletions .github/FUNDING.yml

This file was deleted.

1 change: 0 additions & 1 deletion test/date.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ test('dateMap', function (t) {
}
});

console.log(res.x);
expect(obj.x).not.toBe(res.x);
expect(res).toEqual({
x: obj.x,
Expand Down
10 changes: 4 additions & 6 deletions test/mutability.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ test('cloneTypedArray', function (t) {
const obj = new Uint8Array([1]);
const res = new Traverse(obj).clone();

console.log(23, obj, res);

expect(Array.from(obj)).toEqual(Array.from(res));
expect(obj).not.toBe(res);

Expand Down Expand Up @@ -97,7 +95,7 @@ test('remove', function (t) {
test('removeNoStop', function (t) {
const obj = { a: 1, b: 2, c: { d: 3, e: 4 }, f: 5 };

const keys = [];
const keys: (PropertyKey | undefined)[] = [];
new Traverse(obj).forEach(function () {
keys.push(this.key);
if (this.key === 'c') {
Expand All @@ -111,7 +109,7 @@ test('removeNoStop', function (t) {
test('removeStop', function (t) {
const obj = { a: 1, b: 2, c: { d: 3, e: 4 }, f: 5 };

const keys = [];
const keys: (PropertyKey | undefined)[] = [];
new Traverse(obj).forEach(function () {
keys.push(this.key);
if (this.key === 'c') {
Expand Down Expand Up @@ -150,7 +148,7 @@ test('delete', function (t) {
test('deleteNoStop', function (t) {
const obj = { a: 1, b: 2, c: { d: 3, e: 4 } };

const keys = [];
const keys: (PropertyKey | undefined)[] = [];
new Traverse(obj).forEach(function () {
keys.push(this.key);
if (this.key === 'c') {
Expand All @@ -164,7 +162,7 @@ test('deleteNoStop', function (t) {
test('deleteStop', function (t) {
const obj = { a: 1, b: 2, c: { d: 3, e: 4 } };

const keys = [];
const keys: (PropertyKey | undefined)[] = [];
new Traverse(obj).forEach(function () {
keys.push(this.key);
if (this.key === 'c') {
Expand Down

0 comments on commit 156101f

Please sign in to comment.