mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor(test): rename directories
This commit is contained in:
parent
e991f8d516
commit
668e0e82a0
22 changed files with 12 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
||||||
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
||||||
"test": "pnpm build && pnpm test:api && pnpm test:ui",
|
"test": "pnpm build && pnpm test:api && pnpm test:ui",
|
||||||
"test:api": "pnpm test:only -i ./lib/tests/api/",
|
"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": "eslint --ext .ts src",
|
||||||
"lint:report": "pnpm lint --format json --output-file report.json",
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
||||||
"start": "pnpm test"
|
"start": "pnpm test"
|
||||||
|
|
11
packages/integration-tests/src/tests/flows/bootstrap.test.ts
Normal file
11
packages/integration-tests/src/tests/flows/bootstrap.test.ts
Normal 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);
|
||||||
|
});
|
||||||
|
});
|
Loading…
Reference in a new issue