mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
6d56434b48
* refactor: use ky in integration tests * refactor: remove node-fetch * refactor: fix test cases * refactor: remove waitFor after each test
7 lines
282 B
JavaScript
7 lines
282 B
JavaScript
import { authedAdminTenantApi } from './lib/api/api.js';
|
|
|
|
// We need to update this before tests otherwise Logto will update SignInMode for admin tenant
|
|
// The update logic should be
|
|
await authedAdminTenantApi.patch('sign-in-exp', {
|
|
json: { signInMode: 'SignInAndRegister' },
|
|
});
|