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

    Testing quasar

    Framework
    3
    3
    1356
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gabrielsclimaco
      gabrielsclimaco last edited by

      Is there any way to set up a test environment in a quasar project?

      I already tried setting up:

      • Karma + Mocha
      • Jest
      • Ava

      I failed trying set up all that, usually it doesn’t recognized quasar babel/webpack setup, throwing some errors like “unexpected token export” or “didn’t find module ‘quasar’”(usually I go around that last one importing quasar-framework instead of quasar).

      If someone has succeeded doing this, with any test framework, please let me know

      Jaxon 1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        Theoretically, this should be valid.

        https://vuejs.org/v2/guide/unit-testing.html

        Scott

        1 Reply Last reply Reply Quote 0
        • Jaxon
          Jaxon @gabrielsclimaco last edited by

          @gabrielsclimaco did you manage to get any of them working in the end?

          1 Reply Last reply Reply Quote 1
          • First post
            Last post