Create Deploy-Token (Access-Token) for particular private repo and use it in dependency as following:
{
"dependencies": {
"package-name": "git+https://<username>:<access_token>@github.com/username/repository#{branch|tag}"
}
}
const matic_raw = require("./maticjs") | |
const config = require("./config.json") | |
const ext_mngr = require("./maticjs/lib/common/ExitManager") | |
// console.log(ext_mngr) | |
const root_chain = require("./maticjs/lib/root/RootChain.js") | |
// console.log(root_chain) | |
const { default: ExitManager } = require("./maticjs/lib/common/ExitManager") | |
const { default: RootChain } = require("./maticjs/lib/root/RootChain.js") | |
const params = { | |
network: "testnet", |
# Dont forget to set the env variable "certdomain", and either fill in your email below or use an env variable for that too. | |
# Also note that this config is using the LetsEncrypt staging server, remove the flag when ready! | |
Resources: | |
sslSecurityGroupIngress: | |
Type: AWS::EC2::SecurityGroupIngress | |
Properties: | |
GroupId: {"Fn::GetAtt" : ["AWSEBSecurityGroup", "GroupId"]} | |
IpProtocol: tcp | |
ToPort: 443 |
'use strict'; | |
describe('mocha before hooks', function () { | |
before(() => console.log('*** top-level before()')); | |
beforeEach(() => console.log('*** top-level beforeEach()')); | |
describe('nesting', function () { | |
before(() => console.log('*** nested before()')); | |
beforeEach(() => console.log('*** nested beforeEach()')); | |
it('is a nested spec', () => true); | |
}); |