generated from Seekra/repository-template
test(settings): distinguish between unit tests and integration tests
Separated unit tests and integration tests in the test for useSettingsPage more clearly.
This commit is contained in:
@@ -16,7 +16,7 @@ limitations under the License.
|
||||
|
||||
import { useRouter } from 'vue-router';
|
||||
|
||||
const normalizePagePath = function normalizePagePath (path) {
|
||||
export const normalizePagePath = function normalizePagePath (path) {
|
||||
return path
|
||||
.replace(/\.+/g, '.')
|
||||
.replace(/^\.+|\.+$/g, '')
|
||||
|
||||
Reference in New Issue
Block a user