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

Added file in config to properly set timeout in the test #99

Open
wants to merge 279 commits into
base: develop
Choose a base branch
from

Conversation

jurra
Copy link
Member

@jurra jurra commented Mar 23, 2021

Added this property in jest.config.js otherwise the timeout doesn't work

  setupFilesAfterEnv:['<rootDir>/src/store/__tests__/helpers.test.js']

…evelop"

This reverts commit 170cdb8, reversing
changes made to 18501c4.
…r. Now we properly listen via ipc when the app is started, pass the appPath to the store, and load the guides folder with an example hardocs project describing how to work with hardocs.

REQUIREMENT: This documents can be edited by the user but never saved, so the save option needs to be disabled for this particular case.
…onment. Still need to fix the setup for the development environment.

Things to fix: wrong behavior when creating a project, the state of the previous scenario remains.
…low state is maintained. Changed the id of documents for a simple linear sum. This will help us rearrange in the future the documents, and changed reset the id, based on the position they have with respect to each other.
… way to force component updates is to assign a number to the key in the data properties. When the number or "key" is changed the component is reloaded.
…e project, and change the link to the guides when the new project loads. That is why we watch for cwd and check if changed but is not the guides path, then we set `guidesIsActive` to false.
…t with guides. If we dont do this the index id will be one, and then vue-router avoids redundant navigation. As a result the user changes to guides and keeps the page of the project being active at the moment.
…he guides, but still can interact with the app, in a way that is clear that documents can be saved and how they can be saved right away.
…uides are active. In the future, guides should be part of the list of hardocs project examples.
…evelop"

This reverts commit 170cdb8, reversing
changes made to 18501c4.
…evelopment. Now the guides editing can be saved in development, in production is disabled.
…evelopment. Now the guides editing can be saved in development, in production is disabled.
@jurra
Copy link
Member Author

jurra commented Mar 23, 2021

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.

2 participants