Add prototype for tests

This commit is contained in:
pscott
2021-05-26 12:08:40 +02:00
parent e0fab32dcd
commit 6f5c2e2a33
12 changed files with 7317 additions and 0 deletions

22
tests/jest.js Normal file
View File

@@ -0,0 +1,22 @@
export default jest;
export const { expect, test } = global;
export const sim_options_s = {
model: "nanos",
logging: true,
start_delay: 2000,
X11: true,
custom: "",
};
export const sim_options_x = {
model: "nanox",
logging: true,
start_delay: 2000,
X11: true,
custom: "",
};
export const Resolve = require("path").resolve;
export const NANOS_PATH = Resolve("elfs/ethereum_nanos.elf");
export const NANOX_PATH = Resolve("elfs/ethereum_nanox.elf");