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:
2 files changed
+40
-29
No files matched your search
@@ -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