Skip to content

feat: 新增深拷贝方法 #18

feat: 新增深拷贝方法

feat: 新增深拷贝方法 #18

Triggered via pull request June 21, 2024 15:37
@vtrbovtrbo
synchronize #44
lsc
Status Failure
Total duration 1m 35s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 4 warnings
packages/object/__test__/deepCopy.test.ts > @xparcai-utils/object > deepCopy: 复制数组: packages/object/__test__/deepCopy.test.ts#L17
AssertionError: expected Array{ '0': '0.0.1', …(4) } to strictly equal [ '0.0.1', '0.0.2' ] - Expected: Array [ "0.0.1", "0.0.2", ] + Received: Array { "0": "0.0.1", "1": "0.0.2", "2": "0.0.1", "3": "0.0.2", } ❯ packages/object/__test__/deepCopy.test.ts:17:28
packages/object/__test__/deepCopy.test.ts > @xparcai-utils/object > deepCopy: 复制对象: packages/object/__test__/deepCopy.test.ts#L38
AssertionError: expected { name: 'xparcai', …(4) } to strictly equal { name: 'xparcai', …(4) } - Expected + Received Object { - "changeLog": Array [ - "0.0.1", - "0.0.2", - ], + "changeLog": Array { + "0": "0.0.1", + "1": "0.0.2", + "2": "0.0.1", + "3": "0.0.2", + }, "data": 2024-06-21T15:38:25.172Z, "name": "xparcai", "regexp": /xparcai/, "version": 1, } ❯ packages/object/__test__/deepCopy.test.ts:38:28
test (lts/*, macos-latest)
Process completed with exit code 1.
packages/object/__test__/deepCopy.test.ts > @xparcai-utils/object > deepCopy: 复制数组: packages/object/__test__/deepCopy.test.ts#L17
AssertionError: expected Array{ '0': '0.0.1', …(4) } to strictly equal [ '0.0.1', '0.0.2' ] - Expected: Array [ "0.0.1", "0.0.2", ] + Received: Array { "0": "0.0.1", "1": "0.0.2", "2": "0.0.1", "3": "0.0.2", } ❯ packages/object/__test__/deepCopy.test.ts:17:28
packages/object/__test__/deepCopy.test.ts > @xparcai-utils/object > deepCopy: 复制对象: packages/object/__test__/deepCopy.test.ts#L38
AssertionError: expected { name: 'xparcai', …(4) } to strictly equal { name: 'xparcai', …(4) } - Expected + Received Object { - "changeLog": Array [ - "0.0.1", - "0.0.2", - ], + "changeLog": Array { + "0": "0.0.1", + "1": "0.0.2", + "2": "0.0.1", + "3": "0.0.2", + }, "data": 2024-06-21T15:38:34.160Z, "name": "xparcai", "regexp": /xparcai/, "version": 1, } ❯ packages/object/__test__/deepCopy.test.ts:38:28
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
packages/object/__test__/deepCopy.test.ts > @xparcai-utils/object > deepCopy: 复制数组: packages/object/__test__/deepCopy.test.ts#L17
AssertionError: expected Array{ '0': '0.0.1', …(4) } to strictly equal [ '0.0.1', '0.0.2' ] - Expected: Array [ "0.0.1", "0.0.2", ] + Received: Array { "0": "0.0.1", "1": "0.0.2", "2": "0.0.1", "3": "0.0.2", } ❯ packages/object/__test__/deepCopy.test.ts:17:28
packages/object/__test__/deepCopy.test.ts > @xparcai-utils/object > deepCopy: 复制对象: packages/object/__test__/deepCopy.test.ts#L38
AssertionError: expected { name: 'xparcai', …(4) } to strictly equal { name: 'xparcai', …(4) } - Expected + Received Object { - "changeLog": Array [ - "0.0.1", - "0.0.2", - ], + "changeLog": Array { + "0": "0.0.1", + "1": "0.0.2", + "2": "0.0.1", + "3": "0.0.2", + }, "data": 2024-06-21T15:39:17.659Z, "name": "xparcai", "regexp": /xparcai/, "version": 1, } ❯ packages/object/__test__/deepCopy.test.ts:38:28
test (lts/*, windows-latest)
Process completed with exit code 1.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (lts/*, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (lts/*, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (lts/*, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.