File: disable-ts-node.patch

package info (click to toggle)
node-require-dir 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 256 kB
  • sloc: makefile: 4; sh: 2
file content (17 lines) | stat: -rw-r--r-- 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/test/simple.js
+++ b/test/simple.js
@@ -19,6 +19,7 @@
 
 // now register TypeScript and do it again:
 // note that we include typescript files but not declarations.
+/*
 require('ts-node/register');
 assert.deepEqual(requireDir('./simple'), {
     a: 'a',
@@ -26,5 +27,6 @@
     c: 'c',
     e: 'e',
 });
+*/
 
 console.log('Simple tests passed.');