File: use-compiled-files-for-mocha.diff

package info (click to toggle)
node-external-editor 2.0.4%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 160 kB
  • sloc: makefile: 5
file content (18 lines) | stat: -rw-r--r-- 587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: replace mocha compiler use by test on compiled files
 This avoid to use --compilers option which is deprecated.
 See https://github.com/mochajs/mocha/wiki/compilers-deprecation
Author: Xavier Guimard <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2019-03-27

--- a/test/spec/main.coffee
+++ b/test/spec/main.coffee
@@ -2,7 +2,7 @@
 readFileSync = require('fs').readFileSync
 writeFileSync = require('fs').writeFileSync
 IConvLite = require 'iconv-lite'
-ExternalEditor = require('../../src')
+ExternalEditor = require('../../main')
 
 describe 'main', ->
   before ->