- npm added @japa/api-client, @japa/assert, @types/supertest
Some checks failed
CI Pipeline / japa-tests (push) Failing after 1m13s

- webpack added opions['__VUE_PROD_HYDRATION_MISMATCH_DETAILS__'] = false;
- bodyparser config replaced whitelistedMethods with allowedMethods
- extended stardust_provider
- adapted tests for adonisjs v6
This commit is contained in:
Kaimbacher 2024-04-25 15:17:22 +02:00
parent 296c8fd46e
commit bee76f8d5b
23 changed files with 2014 additions and 165 deletions

View file

@ -51,7 +51,7 @@ export default class StardustProvider {
edge.global('routes', (cspNonce: string | undefined) => {
return `
<script${cspNonce ? ` nonce="${cspNonce}"` : ''}>
(globalThis || window).stardust = { namedRoutes: ${JSON.stringify(namedRoutes)} };
(globalThis || window).stardust = { path: ${JSON.stringify(globalThis.stardust.pathname)}, namedRoutes: ${JSON.stringify(namedRoutes)} };
</script>
`;
});