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

26
tests/src/generic.js Normal file
View File

@@ -0,0 +1,26 @@
const sim_options_nanos = {
model: "nanos",
logging: true,
start_delay: 2000,
X11: true,
custom: "",
};
const sim_options_nanox = {
model: "nanox",
logging: true,
start_delay: 2000,
X11: true,
custom: "",
};
const Resolve = require("path").resolve;
const NANOS_PATH = Resolve("elfs/ethereum_nanos.elf");
const NANOX_PATH = Resolve("elfs/ethereum_nanox.elf");
module.exports = {
NANOS_PATH,
NANOX_PATH,
sim_options_nanos,
sim_options_nanox
}