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:
committed by
Ian Storm Taylor
parent
07d7f51bbc
commit
58c644323f
@@ -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'
|
||||
|
||||
|
Reference in New Issue
Block a user