Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use jasmine and run sequentially #49

Merged
merged 14 commits into from
Apr 22, 2024
Merged

feat: use jasmine and run sequentially #49

merged 14 commits into from
Apr 22, 2024

Conversation

EdouardDem
Copy link
Member

No description provided.

@EdouardDem EdouardDem merged commit be40ff4 into tests Apr 22, 2024
2 checks passed
EdouardDem added a commit that referenced this pull request Apr 23, 2024
* feat: add directus instance starter

* feat: working test bed with sample tests

* feat: add directus sync client

* chore: run format and lint

* chore: run format and lint

* test: empty pull

* test: empty pull

* test: test empty pull mutations

* chore: run prettier

* feat: add test for empty instance

* feat: add first pull test with data

* feat: test pull of collections

dashboards, flows, folders, operations, panels, permissions and roles

* feat: test pull of collections

presets, settings, translation and webhook

* fix: file import

* refactor: rename test basic

* refactor: rename test basic

* test: add 'Pull 2 times from an instance' tests

* refactor: create utils folder

* refactor: rename directus client test

* test: add pull and push without changes

* refactor: rename empty.spec.ts

* test: add "preserve ids" and "pull flush and push"

* test: fix some random failing tests

* fix: revert package-lock.json

* fix: remove unsupported node version from CI

* fix: copy env file before tests

* test: trigger cli programmatically

* test: remove unstable helpers test

* chore: add comment about debugging

* fix: eslint config

* ci: build before tests

* ci: increase jest timeout for ci

* ci: limit number of workers

* test: migration from a server to another

* fix: dependency issue on darwin-arm64

* fix: move dependency to dev

* fix: remove @nx/nx-darwin-arm64

* feat: use jasmine and run sequentially (#49)

* feat: allow import of directus-sync

* feat: first working test on one process

* chore: move directus instance to e2e

* feat: tests working individually

* chore: run prettier

* chore: cleanup cli package and remove e2e tests

* chore: cleanup api package

* chore: cleanup e2e deps

* chore: eslint config

* feat: avoid multiple server at once

* chore: prettier

* feat(e2e): working test suite (sequentially)

* chore(e2e): run prettier

* test(e2e): fix pullAndPushWithoutChanges

* build(e2e): fix ci

* build(e2e): fix ci

* chore: run prettier

* fix: x64 dependencies

* fix: x64 dependencies

* fix: change ts config per test env

* fix(e2e): append logs to file

* feat(e2e): add pushOnEmptyInstance

* feat(e2e): add pushOnEmptyInstance
@EdouardDem EdouardDem deleted the split-tests branch May 8, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant