logto
logto copied to clipboard
test(test): add passwordless integration test
Summary
Add passwordless integration test
- update the email & SMS connector mock to write passcode to
/temp/logto_mock_passcode_record
so can be read by the test case - remove the connector integration test's initial empty status check as the test order is not guaranteed.
Testing
test locally @logto-io/eng
COMPARE TO master
Total Size Diff :chart_with_upwards_trend: +7.56 KB
Diff by File
Name | Diff |
---|---|
packages/connector-mock-mail/src/index.ts | :chart_with_upwards_trend: +211 Bytes |
packages/connector-mock-sms/src/index.ts | :chart_with_upwards_trend: +209 Bytes |
packages/integration-tests/src/api/session.ts | :chart_with_upwards_trend: +2.31 KB |
packages/integration-tests/src/helpers.ts | :chart_with_upwards_trend: +792 Bytes |
packages/integration-tests/src/utils.ts | :chart_with_upwards_trend: +197 Bytes |
packages/integration-tests/tests/connector.test.ts | :chart_with_upwards_trend: +292 Bytes |
packages/integration-tests/tests/session.test.ts | :chart_with_upwards_trend: +4.15 KB |