mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-10 17:24:02 +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
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<document>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import { createHyperscript } from '../..'
|
||||
import { createHyperscript } from 'slate-hyperscript'
|
||||
|
||||
const h = createHyperscript({
|
||||
blocks: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<document>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value normalize={false}>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<document>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/** @jsx h */
|
||||
|
||||
import h from '../..'
|
||||
import h from 'slate-hyperscript'
|
||||
|
||||
export const input = (
|
||||
<value>
|
||||
|
Reference in New Issue
Block a user