feat: exported Drop interface for #107

Deprecate snake_cased options and APIs, sed #109
This commit is contained in:
harttle
2019-02-28 00:05:08 +08:00
parent b69c3a3203
commit 7bee9fc92d
26 changed files with 227 additions and 179 deletions
+2 -2
View File
@@ -181,11 +181,11 @@ describe('scope', function () {
expect(scope.get('foo')).to.equal('bar')
})
})
describe('strict_variables', function () {
describe('strictVariables', function () {
let scope: Scope
beforeEach(function () {
scope = new Scope(ctx, {
strict_variables: true
strictVariables: true
} as any)
})
it('should throw when variable not defined', function () {