fix(core): update
This commit is contained in:
12
test/test.ts
12
test/test.ts
@ -1,19 +1,19 @@
|
||||
import { expect, tap } from '@pushrocks/tapbundle';
|
||||
import { Qenv } from '@pushrocks/qenv';
|
||||
import { expect, tap } from '@push.rocks/tapbundle';
|
||||
import { Qenv } from '@push.rocks/qenv';
|
||||
|
||||
const testQenv = new Qenv('./', './.nogit/');
|
||||
|
||||
import * as digitalocean from '../ts/index';
|
||||
import * as digitalocean from '../ts/index.js';
|
||||
|
||||
let testAccount: digitalocean.DigitalOceanAccount;
|
||||
let testDroplet: digitalocean.DigitalOceanDroplet;
|
||||
|
||||
tap.test('should create a valid account instance', async () => {
|
||||
tap.skip.test('should create a valid account instance', async () => {
|
||||
testAccount = new digitalocean.DigitalOceanAccount(process.env.DO_API_TOKEN);
|
||||
expect(testAccount).to.be.instanceOf(digitalocean.DigitalOceanAccount);
|
||||
expect(testAccount).toBeInstanceOf(digitalocean.DigitalOceanAccount);
|
||||
});
|
||||
|
||||
tap.test('should be able to create a droplet', async () => {
|
||||
tap.skip.test('should be able to create a droplet', async () => {
|
||||
await digitalocean.DigitalOceanDroplet.createDroplet({
|
||||
account: testAccount,
|
||||
name: 'mydroplet1',
|
||||
|
Reference in New Issue
Block a user