No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Mike
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Groups 0

    Mike

    @Mike

    0
    Reputation
    43
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Mike Follow

    Latest posts made by Mike

    • RE: Most suitable testing framework (Unit tests)?

      @hawkeye64 , thank you for reply! Are there any known release dates for this?

      posted in Help
      M
      Mike
    • Most suitable testing framework (Unit tests)?

      Guys, can you, please, tell whether there is any testing framework WITH GUIDE which is more suitable for Quasar?

      I tried to work with Jest for some time - but I couldn’t get the actual app running because of those pre-sets and plugins which Jest requires in .babelrc and other messy stuff.

      In the end it just provides a lot of unexpected token <bla-bla>

      The answer is highly appreciated!

      posted in Help
      M
      Mike
    • RE: Please, help with two-way binding test for QInput (Quasar 16, Jest, Vue)

      Sorry, the implementation of ‘@vue/test-utils’ specifies.
      input.element.value = ‘other’
      input.trigger(‘input’)

      This seems to work.

      posted in Help
      M
      Mike
    • Please, help with two-way binding test for QInput (Quasar 16, Jest, Vue)

      Guys, can you, please advise what could be done here.

      I have the following component I’d like to test (not as shallow)

      0_1531906167328_5bd886eb-3b71-4a3c-bd82-78856a95eb4b-image.png

      I wanted to perform here the following tests:

      • verify the event is emitted when I set the this.selectedValue (so to tests watcher)
      • verify that this.selectedValue is changed to the value entered in embedded Qinput - as if some user enters something and manipulates the v-model.

      I managed to write the first one but I’m really struggling with the second one.

      0_1531906422643_1e95356c-e47d-4b91-9c35-168aaa603765-image.png

      I triggered a lot of different events but vm.vm.selectedValue just remained as it was recieved from props.

      Can you please, give any insights how to see the selectedValue finally changed? (I also tried $nextTick but no luck)

      Thank you in advance!

      posted in Help
      M
      Mike