-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added test for jsonnet library * Fix extStr function in jsonnet library
- Loading branch information
Showing
10 changed files
with
270 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* @returns {number} | ||
*/ | ||
* @returns {number} | ||
*/ | ||
export function jsonnet_make(): number; | ||
/** | ||
* @param {number} vm | ||
*/ | ||
* @param {number} vm | ||
*/ | ||
export function jsonnet_destroy(vm: number): void; | ||
/** | ||
* @param {number} vm | ||
* @param {string} filename | ||
* @param {string} snippet | ||
* @returns {string} | ||
*/ | ||
* @param {number} vm | ||
* @param {string} filename | ||
* @param {string} snippet | ||
* @returns {string} | ||
*/ | ||
export function jsonnet_evaluate_snippet(vm: number, filename: string, snippet: string): string; | ||
/** | ||
* @param {number} vm | ||
* @param {string} filename | ||
* @returns {string} | ||
*/ | ||
* @param {number} vm | ||
* @param {string} filename | ||
* @returns {string} | ||
*/ | ||
export function jsonnet_evaluate_file(vm: number, filename: string): string; | ||
/** | ||
* @param {number} vm | ||
* @param {string} key | ||
* @param {string} value | ||
*/ | ||
* @param {number} vm | ||
* @param {string} key | ||
* @param {string} value | ||
*/ | ||
export function ext_string(vm: number, key: string, value: string): void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "test", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "test.js", | ||
"type": "module", | ||
"scripts": { | ||
"test": "node --experimental-wasm-modules ./node_modules/mocha/bin/mocha" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"chai": "^5.1.0", | ||
"mocha": "^10.4.0" | ||
} | ||
} |
Oops, something went wrong.