Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
16 lines
511 B
JavaScript
16 lines
511 B
JavaScript
const {
|
|
shouldBehaveLikeAccessControl,
|
|
shouldBehaveLikeAccessControlEnumerable,
|
|
} = require('./AccessControl.behavior.js');
|
|
|
|
const AccessControlMock = artifacts.require('AccessControlEnumerableMock');
|
|
|
|
contract('AccessControl', function (accounts) {
|
|
beforeEach(async function () {
|
|
this.accessControl = await AccessControlMock.new({ from: accounts[0] });
|
|
});
|
|
|
|
shouldBehaveLikeAccessControl('AccessControl', ...accounts);
|
|
shouldBehaveLikeAccessControlEnumerable('AccessControl', ...accounts);
|
|
});
|