diff --git a/.changeset/empty-olives-invite.md b/.changeset/empty-olives-invite.md new file mode 100644 index 0000000..708d2d9 --- /dev/null +++ b/.changeset/empty-olives-invite.md @@ -0,0 +1,5 @@ +--- +'docs': patch +--- + +add jest-cache folder diff --git a/.gitignore b/.gitignore index 7f0e64c..c72cb9c 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,5 @@ certs temp **/docs/api data/* -!data/.gitkeep \ No newline at end of file +!data/.gitkeep +.jest-cache \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml index 99728d6..6c6e481 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -6,14 +6,20 @@ tasks: before: yarn init: yarn build command: yarn watch + openMode: tab-after + - name: Jest + init: yarn test + command: yarn test --watch openMode: split-right - name: tailscaled command: | sudo tailscaled + openMode: tab-after - name: tailscale command: | sudo -E tailscale up --hostname "gitpod-${GITPOD_WORKSPACE_ID}" \ --authkey "${TAILSCALE_AUTHKEY}" + openMode: split-right experimentalNetwork: true diff --git a/data/.gitkeep b/data/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/docker-compose.yml b/docker-compose.yml index b5623b8..f8ae943 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,10 +13,10 @@ services: - NEO4JLABS_PLUGINS=["apoc"] - NEO4J_dbms_security_procedures_whitelist=apoc.* volumes: - - ./data/neo4j/data:/data - - ./data/neo4j/logs:/logs - - ./data/neo4j/import:/var/lib/neo4j/import - - ./data/neo4j/plugins:/plugins + - $HOME/neo4j/data:/data + - $HOME/neo4j/logs:/logs + - $HOME/neo4j/import:/var/lib/neo4j/import + - $HOME/neo4j/plugins:/plugins healthcheck: test: wget http://localhost:7474/browser -O - interval: 1s diff --git a/jest.config.js b/jest.config.js index 8410005..c99ce19 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,10 +1,12 @@ module.exports = { preset: 'ts-jest', testEnvironment: 'node', + cacheDirectory: '.jest-cache', testPathIgnorePatterns: [ '/node_modules/', '/dist/', '/coverage/', - '/fixtures/' + '/fixtures/', + '/data/neo4j' ] };