Code Monkey home page Code Monkey logo

Comments (3)

yesmeck avatar yesmeck commented on June 12, 2024

https://travis-ci.org/react-component/tree-select/builds/235187244

没问题啊。

from tree-select.

paranoidjk avatar paranoidjk commented on June 12, 2024
yarn test v0.27.5
$ jest
 FAIL  tests/Select.multiple.spec.js
  ● TreeSelect.multiple › remove by backspace key twice when treeCheckable and under controlled

    expect(received).toHaveLength(length)

    Expected value to have length:
      1
    Received:
      {"complexSelector": {"buildPredicate": [Function buildInstPredicate], "childrenOfNode": [Function childrenOfInst], "findWhereUnwrapped": [Function findWhereUnwrapped]}, "component": null, "length": 0, "node": undefined, "nodes": Array [], "options": {}, "root": {"complexSelector": {"buildPredicate": [Function buildInstPredicate], "childrenOfNode": [Function childrenOfInst], "findWhereUnwrapped": [Function findWhereUnwrapped]}, "component": {"_reactInternalInstance": {"_calledComponentWillUnmount": false, "_compositeType": 0, "_context": {}, "_currentElement": {"$$typeof": Symbol(react.element), "_owner": null, "_store": [Object], "key": null, "props": [Object], "ref": null, "type": [Function WrapperComponent]}, "_debugID": 74, "_hostContainerInfo": {"_ancestorInfo": [Object], "_idCounter": 14, "_namespaceURI": "http://www.w3.org/1999/xhtml", "_node": [Object], "_ownerDocument": [Object], "_tag": "div", "_topLevelWrapper": [Object]}, "_hostParent": null, "_instance": [Circular], "_mountImage": null, "_mountIndex": 0, "_mountOrder": 28, "_pendingCallbacks": null, "_pendingElement": null, "_pendingForceUpdate": false, "_pendingReplaceState": false, "_pendingStateQueue": null, "_renderedComponent": {"_calledComponentWillUnmount": false, "_compositeType": 0, "_context": [Object], "_currentElement": [Object], "_debugID": 75, "_hostContainerInfo": [Object], "_hostParent": null, "_instance": [Object], "_mountImage": null, "_mountIndex": 0, "_mountOrder": 29, "_pendingCallbacks": null, "_pendingElement": null, "_pendingForceUpdate": false, "_pendingReplaceState": false, "_pendingStateQueue": null, "_renderedComponent": [Object], "_renderedNodeType": 1, "_rootNodeID": 0, "_topLevelWrapper": null, "_updateBatchNumber": null, "_warnedAboutRefsInRender": false}, "_renderedNodeType": 1, "_rootNodeID": 0, "_topLevelWrapper": {"_calledComponentWillUnmount": false, "_compositeType": 0, "_context": [Object], "_currentElement": [Object], "_debugID": 0, "_hostContainerInfo": [Object], "_hostParent": null, "_instance": [Object], "_mountImage": null, "_mountIndex": 0, "_mountOrder": 27, "_pendingCallbacks": null, "_pendingElement": null, "_pendingForceUpdate": false, "_pendingReplaceState": false, "_pendingStateQueue": null, "_renderedComponent": [Circular], "_renderedNodeType": 1, "_rootNodeID": 0, "_topLevelWrapper": null, "_updateBatchNumber": null, "_warnedAboutRefsInRender": false}, "_updateBatchNumber": null, "_warnedAboutRefsInRender": false}, "context": {}, "props": {"Component": [Function App], "context": null, "props": {}}, "refs": {}, "state": {"context": null, "mount": true, "props": {}}, "updater": {"enqueueCallback": [Function enqueueCallback], "enqueueCallbackInternal": [Function enqueueCallbackInternal], "enqueueElementInternal": [Function enqueueElementInternal], "enqueueForceUpdate": [Function enqueueForceUpdate], "enqueueReplaceState": [Function enqueueReplaceState], "enqueueSetState": [Function enqueueSetState], "isMounted": [Function isMounted], "validateCallback": [Function validateCallback]}}, "length": 1, "node": {"_reactInternalInstance": {"_calledComponentWillUnmount": false, "_compositeType": 0, "_context": {}, "_currentElement": {"$$typeof": Symbol(react.element), "_owner": [Object], "_store": [Object], "key": null, "props": [Object], "ref": null, "type": [Function App]}, "_debugID": 75, "_hostContainerInfo": {"_ancestorInfo": [Object], "_idCounter": 14, "_namespaceURI": "http://www.w3.org/1999/xhtml", "_node": [Object], "_ownerDocument": [Object], "_tag": "div", "_topLevelWrapper": [Object]}, "_hostParent": null, "_instance": [Circular], "_mountImage": null, "_mountIndex": 0, "_mountOrder": 29, "_pendingCallbacks": null, "_pendingElement": null, "_pendingForceUpdate": false, "_pendingReplaceState": false, "_pendingStateQueue": null, "_renderedComponent": {"_calledComponentWillUnmount": false, "_compositeType": 0, "_context": [Object], "_currentElement": [Object], "_debugID": 76, "_hostContainerInfo": [Object], "_hostParent": null, "_instance": [Object], "_mountImage": null, "_mountIndex": 0, "_mountOrder": 30, "_pendingCallbacks": null, "_pendingElement": null, "_pendingForceUpdate": false, "_pendingReplaceState": false, "_pendingStateQueue": null, "_renderedComponent": [Object], "_renderedNodeType": 1, "_rootNodeID": 0, "_topLevelWrapper": null, "_updateBatchNumber": null, "_warnedAboutRefsInRender": false}, "_renderedNodeType": 1, "_rootNodeID": 0, "_topLevelWrapper": null, "_updateBatchNumber": null, "_warnedAboutRefsInRender": false}, "context": {}, "handleChange": [Function anonymous], "props": {}, "refs": {}, "state": {"value": Array []}, "updater": {"enqueueCallback": [Function enqueueCallback], "enqueueCallbackInternal": [Function enqueueCallbackInternal], "enqueueElementInternal": [Function enqueueElementInternal], "enqueueForceUpdate": [Function enqueueForceUpdate], "enqueueReplaceState": [Function enqueueReplaceState], "enqueueSetState": [Function enqueueSetState], "isMounted": [Function isMounted], "validateCallback": [Function validateCallback]}}, "nodes": [{"_reactInternalInstance": {"_calledComponentWillUnmount": false, "_compositeType": 0, "_context": [Object], "_currentElement": [Object], "_debugID": 75, "_hostContainerInfo": [Object], "_hostParent": null, "_instance": [Circular], "_mountImage": null, "_mountIndex": 0, "_mountOrder": 29, "_pendingCallbacks": null, "_pendingElement": null, "_pendingForceUpdate": false, "_pendingReplaceState": false, "_pendingStateQueue": null, "_renderedComponent": [Object], "_renderedNodeType": 1, "_rootNodeID": 0, "_topLevelWrapper": null, "_updateBatchNumber": null, "_warnedAboutRefsInRender": false}, "context": {}, "handleChange": [Function anonymous], "props": {}, "refs": {}, "state": {"value": Array []}, "updater": {"enqueueCallback": [Function enqueueCallback], "enqueueCallbackInternal": [Function enqueueCallbackInternal], "enqueueElementInternal": [Function enqueueElementInternal], "enqueueForceUpdate": [Function enqueueForceUpdate], "enqueueReplaceState": [Function enqueueReplaceState], "enqueueSetState": [Function enqueueSetState], "isMounted": [Function isMounted], "validateCallback": [Function validateCallback]}}], "options": {}, "root": [Circular]}}
    received.length:
      0

      at Object.<anonymous> (tests/Select.multiple.spec.js:76:20)
      at handle (node_modules/worker-farm/lib/child/index.js:44:8)
      at process.<anonymous> (node_modules/worker-farm/lib/child/index.js:51:3)
      at emitTwo (events.js:106:13)
      at process.emit (events.js:191:7)
      at process.nextTick (internal/child_process.js:753:12)
      at _combinedTickCallback (internal/process/next_tick.js:73:7)
      at process._tickCallback (internal/process/next_tick.js:104:9)

 PASS  tests/Select.checkable.spec.js
 PASS  tests/Select.spec.js (5.212s)

Test Suites: 1 failed, 2 passed, 3 total
Tests:       1 failed, 25 passed, 26 total
Snapshots:   7 passed, 7 total
Time:        6.218s
Ran all test suites.
error Command failed with exit code 1.

本机跑跑看看?

from tree-select.

yesmeck avatar yesmeck commented on June 12, 2024

也好的呀。

from tree-select.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.