Skip to content

Instantly share code, notes, and snippets.

@PaulRBerg
Last active August 11, 2019 14:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PaulRBerg/d07a5732d180f5736a5e118f4ffac4e8 to your computer and use it in GitHub Desktop.
Save PaulRBerg/d07a5732d180f5736a5e118f4ffac4e8 to your computer and use it in GitHub Desktop.
describe("when the stream did start but not end", function() {
const amount = new BigNumber(5).multipliedBy(1e18).toString(10);
beforeEach(async function() {
await web3.utils.advanceBlockAtTime(
now
.plus(STANDARD_TIME_OFFSET)
.plus(5)
.toNumber(),
);
});
it("test1", function() {});
it("test2", function() {});
it("test3", function() {});
afterEach(async function() {
await web3.utils.advanceBlockAtTime(now.toNumber());
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment