File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- declare module "python-bridge" {
1+ // declare module "python-bridge" {
22 interface pythonBridge extends Function {
33 ( options ?: PythonBridgeOptions ) : PythonBridge ;
44 }
@@ -50,4 +50,4 @@ declare module "python-bridge" {
5050 export type PipeStdin = Pipe | NodeJS . ReadableStream ;
5151 export type PipeStdout = Pipe | NodeJS . WritableStream ;
5252 export type PipeStderr = Pipe | NodeJS . WritableStream ;
53- }
53+ // }
Original file line number Diff line number Diff line change 1010 "test" : " npm run test:js && npm run test:ts" ,
1111 "test:js" : " tap test.js" ,
1212 "test:ts" : " ts-node test.ts" ,
13-
1413 "test_ts" : " ts-node node_modules/blue-tape/bin/blue-tape test_typescript.ts"
1514 },
1615 "repository" : {
Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ test('TypeScript', async t => {
1414 return a + b
1515 ` ;
1616 const x = await python `hello(${ a } , ${ b } )`
17- t . equal ( x , a + b )
17+ t . equal ( x , a + b , 'should get the same result between node & python' )
1818 python . end ( ) ;
1919} ) ;
You can’t perform that action at this time.
0 commit comments