@dargmuesli/nuxt-vio-testing 20.6.3 → 20.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,8 +2,9 @@ import AxeBuilder from '@axe-core/playwright'
2
2
  import { expect, type Page } from '@playwright/test'
3
3
  import { joinURL, withoutTrailingSlash } from 'ufo'
4
4
 
5
- import { vioTest } from '#tests/e2e/fixtures/vioTest'
6
- import { SITE_URL, TIMEOUT } from '#tests/e2e/utils/constants'
5
+ // the following imports cannot use the #tests alias because downstream consumers of this package typically cannot resolve that alias
6
+ import { vioTest } from '../fixtures/vioTest'
7
+ import { SITE_URL, TIMEOUT } from '../utils/constants'
7
8
 
8
9
  export const testA11y = (url: string) =>
9
10
  vioTest.describe('a11y', () => {
package/package.json CHANGED
@@ -54,5 +54,5 @@
54
54
  "test:e2e:server:static": "cross-env NODE_ENV=production PORT=3002 NUXT_PUBLIC_SITE_URL=https://localhost:3002 VIO_SERVER=static pnpm run test:e2e"
55
55
  },
56
56
  "type": "module",
57
- "version": "20.6.3"
57
+ "version": "20.6.5"
58
58
  }
@@ -1,6 +1,6 @@
1
1
  import { defineConfig, devices } from '@playwright/test'
2
2
 
3
- import { SITE_URL, TIMEOUT } from '#tests/e2e/utils/constants' // importing from `src` does not work with the test module release
3
+ import { SITE_URL, TIMEOUT } from './e2e/utils/constants' // importing from `src` or using the `#tests` path does not work because downstream consumers of this package typically cannot resolve those paths
4
4
 
5
5
  /**
6
6
  * Read environment variables from file.