Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bhousel
Copy link
Collaborator

@bhousel bhousel commented May 23, 2025

re: #100
I attempted to get a basic component test working, following the Nuxt guide here. However, the full nuxt environment ends up pulling in middleware plugins from tlv2_ui, and when the component loads, it is blocked on the auth middleware.

The actual test is queued but will not run, awaiting a promise.

✔ Nuxt Nitro server built                                                                                      
Σ Total size: 1.63 MB (394 kB gzip)
✔ You can preview this build using node .nuxt/test/f0af4y/output/server/index.mjs                              nitro 4:35:54 PM
ℹ Running tests...                                                                                                   4:35:54 PM
stdout | tests/components/legend.test.ts                                                                              4:35:55 PM
checkToken: not logged in
                                                                                                                      4:35:55 PM
stdout | tests/components/legend.test.ts                                                                              4:35:55 PM
auth mw: force login
                                                                                                                      4:35:55 PM
 ❯ tests/components/legend.test.ts [queued]

ping @irees 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant