Giter Club home page Giter Club logo

Comments (2)

lmiller1990 avatar lmiller1990 commented on June 9, 2024

I wouldn't say we've got a specific position. The general development lifecycle for this library is just to assess and add things on a case by case basis, depending on what people want.

What I've seen historically is something like

  1. User asks for feature to do X
  2. Other users suggest alternative ways to do X
  3. If the proposed solution is adequate, go with that
  4. If it's not, discuss new / alternative / changes

In general, I think we want to avoid adding new features unless they solve a unique use case. If you think you have a use case for something like a exposeProxy, it might be worth sharing it before writing too much code.

In my opinion tampering with the component isn't good, it's better to just interact like a user does (click, etc) but happy to discuss more! Have you got a specific class of tests you are struggling to write without proxy access?

from test-utils.

cexbrayat avatar cexbrayat commented on June 9, 2024

@jason-chang We can already access everything that is exposed (and not exposed) by the component on the VM, so I don't think we need to add another property.

If you have a specific use case that can't be done currently, feel free to ping us with a repro and we'll gladly reopen and discuss!

from test-utils.

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.