diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/ApiIndex.vue | 7 | ||||
| -rw-r--r-- | docs/guide/frameworks.md | 4 |
2 files changed, 3 insertions, 8 deletions
diff --git a/docs/api/ApiIndex.vue b/docs/api/ApiIndex.vue index 94085371..7b1be7bf 100644 --- a/docs/api/ApiIndex.vue +++ b/docs/api/ApiIndex.vue @@ -69,13 +69,8 @@ const filtered = computed(() => { </h3> <ul> <li v-for="h of item.headers" :key="h.anchor"> - <!-- TODO @ST-DDT 2024-09-25: Remove this in v10 --> <a - :href=" - item.link + - '#' + - (h.anchor === 'userName' ? 'username-1' : slugify(h.anchor)) - " + :href="item.link + '#' + slugify(h.anchor)" :class="{ deprecated: h.deprecated }" >{{ h.text }}</a > diff --git a/docs/guide/frameworks.md b/docs/guide/frameworks.md index 1733b4e1..ded22f9c 100644 --- a/docs/guide/frameworks.md +++ b/docs/guide/frameworks.md @@ -71,7 +71,7 @@ import { faker } from '@faker-js/faker/locale/en'; describe('Testing the application', () => { it('should create an account with username and password', () => { - let username = faker.internet.username(); // before version 9.1.0, use userName() + let username = faker.internet.username(); let password = faker.internet.password(); let email = faker.internet.exampleEmail(); @@ -111,7 +111,7 @@ test.describe('Testing the application', () => { test('should create an account with username and password', async ({ page, }) => { - const username = faker.internet.username(); // before version 9.1.0, use userName() + const username = faker.internet.username(); const password = faker.internet.password(); const email = faker.internet.exampleEmail(); |
