fix(core): update
This commit is contained in:
parent
45544fffd0
commit
1eef97ee9a
@ -8,11 +8,16 @@ import * as bobcat from '../ts/index';
|
||||
let testBobcatManager: bobcat.BobcatManager;
|
||||
let testBobcat: bobcat.Bobcat;
|
||||
|
||||
tap.test('first test', async () => {
|
||||
tap.test('should create a bobcat manager', async () => {
|
||||
testBobcatManager = new bobcat.BobcatManager();
|
||||
expect(testBobcatManager).toBeInstanceOf(bobcat.BobcatManager);
|
||||
});
|
||||
|
||||
tap.test('should create a bobcat', async () => {
|
||||
testBobcat = new bobcat.Bobcat('bobcat.bleu.de');
|
||||
expect(testBobcat).toBeInstanceOf(bobcat.Bobcat);
|
||||
})
|
||||
|
||||
tap.test('should add a Bobcat miner', async () => {
|
||||
const bobcatAddresses = testQenv.getEnvVarOnDemand('BOBCATS').split(',');
|
||||
console.log(bobcatAddresses);
|
||||
@ -22,9 +27,8 @@ tap.test('should add a Bobcat miner', async () => {
|
||||
}
|
||||
});
|
||||
|
||||
tap.test('', async () => {
|
||||
testBobcat = new bobcat.Bobcat('bobcat.bleu.de');
|
||||
expect(testBobcat).toBeInstanceOf(bobcat.Bobcat);
|
||||
tap.test('should run maintenance on bobcats', async () => {
|
||||
await testBobcatManager.runMaintenance();
|
||||
})
|
||||
|
||||
tap.start();
|
||||
|
Loading…
Reference in New Issue
Block a user