Skip to content

Commit

Permalink
Fix faker to @faker-js/faker
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Mar 3, 2022
1 parent 864662b commit ddadb44
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/test/admin/system/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect, chromium, Page } from '@playwright/test';
import { ZapClient, Mode, ContextType } from '../../../utils/ZapClient';
import * as faker from 'faker/locale/ja';
import * as fakerEn from 'faker/locale/en';
import * as faker from '@faker-js/faker/locale/ja';
import * as fakerEn from '@faker-js/faker/locale/en';

import { ADMIN_DIR } from '../../../config/default.config';

Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/test/front_guest/entry.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect, chromium, Page, request, APIRequestContext } from '@playwright/test';
import PlaywrightConfig from '../../../playwright.config';
import * as faker from 'faker/locale/ja';
import * as fakerEN from 'faker/locale/en_US';
import * as faker from '@faker-js/faker/locale/ja';
import * as fakerEN from '@faker-js/faker/locale/en_US';
import { addYears } from 'date-fns';

const url = '/entry/kiyaku.php';
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/test/installer/installer.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { test, expect, chromium, Page } from '@playwright/test';
import * as faker from 'faker';
import * as faker from '@faker-js/faker/locale/en';

const baseURL = 'https://ec-cube';
const url = baseURL + '/install/';
Expand Down

0 comments on commit ddadb44

Please sign in to comment.