Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Experimenting with netlify, do not merge (#409)
Browse files Browse the repository at this point in the history
Add Netlify config
  • Loading branch information
nickoneill committed Aug 11, 2018
1 parent b5fe0a0 commit b21bbb4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions netlify.toml
@@ -0,0 +1,7 @@
[Settings]
ID = "eloquent-swirles-2ba06d"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
4 changes: 4 additions & 0 deletions scripts/test.js
Expand Up @@ -16,6 +16,10 @@ require('../config/env');
const jest = require('jest');
const argv = process.argv.slice(2);

if (process.env.CI) {
argv.push('-w 1');
}

// Watch unless on CI or in coverage mode
if (!process.env.CI && argv.indexOf('--coverage') < 0) {
argv.push('--watch');
Expand Down

0 comments on commit b21bbb4

Please sign in to comment.