mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 14:47:56 -05:00
chore(ci): upgrade node version to 22
This commit is contained in:
4
Makefile
4
Makefile
@@ -17,7 +17,7 @@ PARSE_INTEGER_BENCH_CSV_FILE?=tfhe_rs_integer_benches.csv
|
||||
FAST_TESTS?=FALSE
|
||||
FAST_BENCH?=FALSE
|
||||
BENCH_OP_FLAVOR?=DEFAULT
|
||||
NODE_VERSION=20
|
||||
NODE_VERSION=22
|
||||
FORWARD_COMPAT?=OFF
|
||||
BACKWARD_COMPAT_DATA_URL=https://github.com/zama-ai/tfhe-backward-compat-data.git
|
||||
BACKWARD_COMPAT_DATA_DIR=tfhe-backward-compat-data
|
||||
@@ -810,7 +810,7 @@ test_nodejs_wasm_api_in_docker: build_nodejs_test_docker
|
||||
|
||||
.PHONY: test_nodejs_wasm_api # Run tests for the nodejs on wasm API
|
||||
test_nodejs_wasm_api: build_node_js_api
|
||||
cd tfhe && node --test js_on_wasm_tests
|
||||
cd tfhe/js_on_wasm_tests && npm run test
|
||||
|
||||
.PHONY: test_web_js_api_parallel # Run tests for the web wasm api
|
||||
test_web_js_api_parallel: build_web_js_api_parallel
|
||||
|
||||
0
tfhe/js_on_wasm_tests/index.js
Normal file
0
tfhe/js_on_wasm_tests/index.js
Normal file
11
tfhe/js_on_wasm_tests/package.json
Normal file
11
tfhe/js_on_wasm_tests/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "js_on_wasm_tests",
|
||||
"version": "1.0.0",
|
||||
"description": "JS API tests",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "node --test --test-reporter=tap"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
const test = require('node:test');
|
||||
const assert = require('node:assert').strict;
|
||||
const {performance} = require('perf_hooks');
|
||||
const { performance } = require('perf_hooks');
|
||||
const {
|
||||
init_panic_hook,
|
||||
TfheClientKey,
|
||||
|
||||
Reference in New Issue
Block a user