Skip to content

Commit a999850

Browse files
huanRyan Munro
authored andcommitted
test
1 parent 25ae478 commit a999850

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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+
// }

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
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": {

test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)