1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-16 12:14:14 +02:00

Add coverage test with mocha and codecov (#2037)

* Run mocha test with module alias

* Running test with babel module alias

* Fix model alias

* Fix model alias

* Resolve module alias

* Running test with babel module alias

* Connect to codecov

* add codecov to travis

* stop if yarn test has errors

* Still cannot collect data from slate modules

* Try to check whether it works with codecov

* Move config to nycrc

* Remove nyc require

* Update nyc to use src

* better before_script
This commit is contained in:
Jinxuan Zhu
2018-08-06 13:31:42 -04:00
committed by Ian Storm Taylor
parent 07d7f51bbc
commit 58c644323f
88 changed files with 703 additions and 126 deletions

View File

@@ -5,7 +5,7 @@ import clean from './helpers/clean'
import React from 'react'
import ReactDOM from 'react-dom/server'
import Simulator from 'slate-simulator'
import { Editor } from '..'
import { Editor } from 'slate-react'
import { fixtures } from 'slate-dev-test-utils'
import { JSDOM } from 'jsdom'