Skip to content

Commit

Permalink
[RFC] Make credible test set in .spec files and get everything passin…
Browse files Browse the repository at this point in the history
…g according to new bls api (Chia-Network#252)

* Make credible test set in .spec files and get everything passing accoring to new bls api

* oops needed this for the other test code
  • Loading branch information
prozacchiwawa authored and UdjinM6 committed Dec 1, 2021
1 parent 277eda3 commit 09bae1f
Show file tree
Hide file tree
Showing 15 changed files with 1,312 additions and 907 deletions.
2 changes: 1 addition & 1 deletion js-bindings/CMakeLists.txt
Expand Up @@ -25,7 +25,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/blsjs.d.ts blsjs.d.ts COPYONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/README.md README.md COPYONLY)

# Copy test files
file(GLOB JS_BINDINGS_TESTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/tests/ ${CMAKE_CURRENT_SOURCE_DIR}/tests/*.js)
file(GLOB JS_BINDINGS_TESTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/tests/ ${CMAKE_CURRENT_SOURCE_DIR}/tests/*.js ${CMAKE_CURRENT_SOURCE_DIR}/tests/*.ts)
foreach(file ${JS_BINDINGS_TESTS})
message(FILE ${file})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/tests/${file} tests/${file} COPYONLY)
Expand Down
4 changes: 1 addition & 3 deletions js-bindings/blsjs.d.ts
Expand Up @@ -103,6 +103,4 @@ export interface ModuleInstance {
Util: typeof Util;
}

declare function createModule(options?: {}): Promise<ModuleInstance>;

export default createModule;
export default function createModule(options?: {}): Promise<ModuleInstance>;

0 comments on commit 09bae1f

Please sign in to comment.