Skip to content

Commit

Permalink
Update imports that were using ~
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmypixel committed Dec 18, 2024
1 parent a8ac2bf commit b697e81
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "es2020",
"baseUrl": "./",
"paths": {
"~/*": ["./*"],
"helpers/*": ["./test/helpers/*"],
"page-objects/*": ["./test/page-objects/*"],
"components/*": ["./test/components/*"]
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "Defra DDTS",
"license": "OGL-UK-3.0",
"aliases": {
"~": "*",
"helpers": "test/helpers",
"page-objects": "test/page-objects",
"components": "test/components"
},
Expand Down
2 changes: 1 addition & 1 deletion test/specs/secrets.e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import HeadingComponent from 'components/heading.component'
import TabsComponent from 'components/tabs.component'
import SplitPaneComponent from 'components/split-pane.component'
import ServicesPage from 'page-objects/services.page'
import SecretsPage from '~/test/page-objects/secrets.page'
import SecretsPage from 'page-objects/secrets.page'
import ErrorPage from 'page-objects/error.page'
import LoginStubPage from 'page-objects/login-stub.page'

Expand Down
2 changes: 1 addition & 1 deletion test/specs/users.e2e.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { browser, expect } from '@wdio/globals'

import { createUser, deleteUser } from '~/test/helpers/create-user'
import { createUser, deleteUser } from 'helpers/create-user'
import HeadingComponent from 'components/heading.component'
import FormComponent from 'components/form.component'
import LinkComponent from 'components/link.component'
Expand Down

0 comments on commit b697e81

Please sign in to comment.