12 lines
357 B
JavaScript
12 lines
357 B
JavaScript
const shouldBehaveLikeProxy = require('../Proxy.behaviour');
|
|
|
|
const ERC1967Proxy = artifacts.require('ERC1967Proxy');
|
|
|
|
contract('ERC1967Proxy', function (accounts) {
|
|
const createProxy = async function (implementation, initData, opts) {
|
|
return ERC1967Proxy.new(implementation, initData, opts);
|
|
};
|
|
|
|
shouldBehaveLikeProxy(createProxy, accounts);
|
|
});
|