Skip to content
This repository was archived by the owner on Jan 28, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
node_modules
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't need this, since ESLint is already included in the ember test command

bower_components
package.json
package-lock.json
tmp
dist
LICENSE
README.md
coverage
config/coverage.js
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
---
language: node_js
node_js:
- "6"

sudo: false
dist: trusty
- "8"

addons:
chrome: stable

cache:
directories:
- $HOME/.npm

env:
global:
# See https://git.io/vdao3 for details.
- JOBS=1

before_install:
- npm config set spin false

script:
- npm run ci
3 changes: 3 additions & 0 deletions config/coverage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
excludes: ['./app/templates/*', '*/mirage/**/*']
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you exclude them?

};
1 change: 1 addition & 0 deletions mirage/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createToken, revokeToken } from './routes/token';

export default function() {
this.passthrough('/write-coverage');
this.namespace = '/api'; // make this `/api`, for example, if your API is namespaced

this.post('/token', createToken);
Expand Down
Loading