File tree Expand file tree Collapse file tree
schema/bind/src/bindings/python/plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { GetPathToCliTestFiles } from "@polywrap/test-cases";
44import fs from "fs" ;
55import path from "path" ;
66
7- jest . setTimeout ( 1200000 ) ;
7+ jest . setTimeout ( 1500000 ) ;
88
99describe ( "e2e tests for build command" , ( ) => {
1010 const testCaseRoot = path . join ( GetPathToCliTestFiles ( ) , "build-cmd/wasm/rust" ) ;
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Commands:
2020 app [options] <language> <name> Create a Polywrap application. langs:
2121 typescript
2222 plugin [options] <language> <name> Create a Polywrap plugin. langs:
23- typescript
23+ typescript, rust, python
2424 template [options] <url> <name> Download template from a URL. formats:
2525 .git
2626 help [command] display help for command
Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ export const generateBinding: GenerateBindingFn = (
4242) : BindOutput => {
4343 const escapedAbi = JSON . stringify (
4444 sort ( ( options . abi as unknown ) as Record < string , unknown > )
45- ) . replace ( / \n / g, "\\n" ) ;
45+ ) . replace ( / \\ n / g, "\\\\n" ) ;
46+
4647 const formattedAbi = JSON . stringify ( JSON . parse ( escapedAbi ) , null , 2 ) ;
4748
4849 // Apply Abi transforms
You can’t perform that action at this time.
0 commit comments