Skip to content

Commit

Permalink
Create PiNexusIdentityManager.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 20, 2024
1 parent c081cf9 commit d9244a7
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test/PiNexusIdentityManager.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
const { expect } = require('chai');
const { deployContract } = require('@truffle/hdwallet-provider');

describe('PiNexusIdentityManager', () => {
let contract;

beforeEach(async () => {
contract = await deployContract('PiNexusIdentityManager');
});

it('should have a valid owner', async () => {
const owner = await contract.owner();
expect(owner).to.not.be.null;
});

// Add more test cases here...
});

0 comments on commit d9244a7

Please sign in to comment.