forked from binxhealth/force-vue-awakens
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ian Walter
committed
May 24, 2018
0 parents
commit 148f4a9
Showing
20 changed files
with
15,805 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
node_modules | ||
dist | ||
cypress/videos | ||
.vscode | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# force-vue-awakens | ||
> | ||
## Guidelines: | ||
|
||
* Code style: [StandardJS](https://standardjs.com/) | ||
|
||
## Setup | ||
|
||
1. Clone the repository. | ||
2. Run `npm install`. | ||
3. Run `npm start`. | ||
4. Navigate to `http://localhost:8080` | ||
|
||
## Testing | ||
|
||
Run all tests: | ||
|
||
```sh | ||
npm test | ||
``` | ||
|
||
Run only [Jest](https://facebook.github.io/jest/en/) tests: | ||
|
||
```sh | ||
npm run test:unit | ||
``` | ||
|
||
Run a sepcific Jest test: | ||
|
||
```sh | ||
npm run test:unit -- tests/home.test.js | ||
``` | ||
|
||
Run only [Cypress](https://www.cypress.io/) tests: | ||
|
||
```sh | ||
npm run test:e2e | ||
``` | ||
|
||
Run Cypress interactive GUI: | ||
|
||
```sh | ||
npx cypress open | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"baseUrl": "http://localhost:8080" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "Using fixtures to represent data", | ||
"email": "[email protected]", | ||
"body": "Fixtures are a great way to mock data for responses to routes" | ||
} |
Oops, something went wrong.