refactor: remove mock-fs from dev dependency

This commit is contained in:
harttle
2019-02-19 22:28:27 +08:00
parent f432aade6a
commit 852c6ad453
70 changed files with 711 additions and 795 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import * as chai from 'chai'
import assert from '../../../src/util/assert'
import assert from 'src/util/assert'
const expect = chai.expect
+1 -1
View File
@@ -5,7 +5,7 @@ import * as sinonChai from 'sinon-chai'
const expect = chai.expect
chai.use(sinonChai)
const P = require('../../../src/util/promise')
const P = require('src/util/promise')
describe('util/promise', function () {
describe('.anySeries()', function () {
+1 -1
View File
@@ -1,5 +1,5 @@
import * as chai from 'chai'
import t from '../../../src/util/strftime'
import t from 'src/util/strftime'
const expect = chai.expect
+2 -2
View File
@@ -1,8 +1,8 @@
import * as chai from 'chai'
import * as sinonChai from 'sinon-chai'
import * as sinon from 'sinon'
import { RenderError, RenderBreakError } from '../../../src/util/error'
import * as _ from '../../../src/util/underscore'
import { RenderError, RenderBreakError } from 'src/util/error'
import * as _ from 'src/util/underscore'
const expect = chai.expect
chai.use(sinonChai)