Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Walter committed May 24, 2018
0 parents commit 148f4a9
Show file tree
Hide file tree
Showing 20 changed files with 15,805 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
dist
cypress/videos
.vscode
.DS_Store
45 changes: 45 additions & 0 deletions README.md
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
```
3 changes: 3 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"baseUrl": "http://localhost:8080"
}
5 changes: 5 additions & 0 deletions cypress/fixtures/example.json
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"
}
Loading

0 comments on commit 148f4a9

Please sign in to comment.