dao-governance-framework/forum-network/src/tests/reputation.test.html

33 lines
974 B
HTML
Raw Normal View History

2023-01-18 01:07:10 -06:00
<!DOCTYPE html>
<head>
<title>Reputation test</title>
2023-01-26 11:15:25 -06:00
<link type="text/css" rel="stylesheet" href="../index.css" />
2023-01-18 01:07:10 -06:00
</head>
<body>
<div id="scene"></div>
2023-01-18 01:07:10 -06:00
</body>
<script type="module">
import { Box } from '../classes/box.js';
import { Scene } from '../classes/scene.js';
2023-01-29 04:38:28 -06:00
// import { ValidationPool } from '../classes/validation-pool.js';
// import { TokenHolder } from '../classes/token-holder.js';
// import { ReputationToken } from '../classes/reputation-token.js';
2023-01-18 01:07:10 -06:00
import { delay } from '../util.js';
const DEFAULT_DELAY_INTERVAL = 500;
const rootElement = document.getElementById('scene');
2023-01-18 01:07:10 -06:00
const rootBox = new Box('rootBox', rootElement).flex();
const scene = (window.scene = new Scene('Reputation test', rootBox));
2023-01-18 01:07:10 -06:00
scene.withSequenceDiagram();
scene.withFlowchart();
2023-01-29 04:38:28 -06:00
// const pool = new ValidationPool();
// const repToken = new ReputationToken();
2023-01-18 01:07:10 -06:00
// const tokenMinter = new TokenHolder('TokenMinter', scene);
await delay(DEFAULT_DELAY_INTERVAL);
</script>