From 34ae0a29813b78bae4bded244d7c0ab7d1ec1e06 Mon Sep 17 00:00:00 2001 From: abenso Date: Mon, 26 Aug 2024 17:14:10 -0300 Subject: [PATCH] changes for test purposes --- Makefile | 4 ++-- tests_zemu/package.json | 2 +- tests_zemu/tests/common.ts | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index e2db81c..3f0932c 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,8 @@ # BOLOS_SDK IS DEFINED We use the plain Makefile for Ledger # BOLOS_SDK NOT DEFINED We use a containerized build approach -# TESTS_JS_PACKAGE = "@zondax/ledger-kadena" -# TESTS_JS_DIR = $(CURDIR)/../ledger-kadena-js +TESTS_JS_PACKAGE = "@zondax/ledger-kadena" +TESTS_JS_DIR = $(CURDIR)/../ledger-kadena-js ifeq ($(BOLOS_SDK),) # In this case, there is not predefined SDK and we run dockerized diff --git a/tests_zemu/package.json b/tests_zemu/package.json index 8f4ffc5..a67c136 100644 --- a/tests_zemu/package.json +++ b/tests_zemu/package.json @@ -19,7 +19,7 @@ "format:check": "FORCE_COLOR=1 prettier --check .", "lint": "eslint .", "lint:fix": "eslint --fix .", - "test": "jest", + "test": "jest tests/transactions.test.ts", "try": "node try.mjs", "upgrade": "bunx npm-check-updates -i" }, diff --git a/tests_zemu/tests/common.ts b/tests_zemu/tests/common.ts index d5d009c..d60a30d 100644 --- a/tests_zemu/tests/common.ts +++ b/tests_zemu/tests/common.ts @@ -11,11 +11,11 @@ const APP_PATH_ST = resolve('../app/output/app_stax.elf') const APP_PATH_FL = resolve('../app/output/app_flex.elf') export const models: IDeviceModel[] = [ - { name: 'nanos', prefix: 'S', path: APP_PATH_S }, + // { name: 'nanos', prefix: 'S', path: APP_PATH_S }, { name: 'nanox', prefix: 'X', path: APP_PATH_X }, - { name: 'nanosp', prefix: 'SP', path: APP_PATH_SP }, - { name: 'stax', prefix: 'ST', path: APP_PATH_ST }, - { name: 'flex', prefix: 'FL', path: APP_PATH_FL }, + // { name: 'nanosp', prefix: 'SP', path: APP_PATH_SP }, + // { name: 'stax', prefix: 'ST', path: APP_PATH_ST }, + // { name: 'flex', prefix: 'FL', path: APP_PATH_FL }, ] export const PATH = "m/44'/626'/0'/0/0"