0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00
logto/packages/integration-tests/tests/username-password-flow.test.ts
simeng-li 162998f414
refactor(test): refactor integration test step 1 (#1684)
* chore(test): integration test update

add dotenv

* chore(core): update pnpm lock

update pnpm lock

* refactor(test): refactor integration test step 1

extract api, and orgnize test case following core/route structure

* chore(test): update path

update path

* fix(test): update path

update path

* fix(test): cr update
cr update
2022-07-27 03:23:10 +00:00

9 lines
283 B
TypeScript

import { registerUserAndSignIn } from '@/helpers';
describe('username and password flow', () => {
it('should register and sign in with username and password successfully', async () => {
expect(async () => {
await registerUserAndSignIn();
}).not.toThrow();
});
});