0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

Merge pull request #4458 from logto-io/gao-update-folder-names

refactor(test): rename directories
This commit is contained in:
Gao Sun 2023-09-11 13:47:16 +08:00 committed by GitHub
commit 709ba633b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 13 additions and 2 deletions

View file

@ -98,7 +98,7 @@ export default function interactionRoutes<T extends AnonymousRouter>(
eventLog.append({ profile, verifiedIdentifiers });
await validatePassword(tenant, profile?.password, passwordPolicyChecker, {
identifiers: verifiedIdentifier,
identifiers: verifiedIdentifiers,
profile,
});

View file

@ -14,7 +14,7 @@
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
"test": "pnpm build && pnpm test:api && pnpm test:ui",
"test:api": "pnpm test:only -i ./lib/tests/api/",
"test:ui": "pnpm test:only -i --config=jest.config.ui.js ./lib/tests/ui/",
"test:ui": "pnpm test:only -i --config=jest.config.ui.js ./lib/tests/console/ ./lib/tests/flows/",
"lint": "eslint --ext .ts src",
"lint:report": "pnpm lint --format json --output-file report.json",
"start": "pnpm test"

View file

@ -0,0 +1,11 @@
/**
* NOTE: This test suite assumes test cases will run sequentially (which is Jest default).
* Parallel execution will lead to errors.
*/
// Tip: See https://github.com/argos-ci/jest-puppeteer/blob/main/packages/expect-puppeteer/README.md
// for convenient expect methods
describe('smoke testing for the main flow', () => {
it('should not explode', async () => {
expect(true);
});
});