mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 12:50:38 -07:00
chore: migrate test cases from Chai to Jest
This commit is contained in:
@@ -58,9 +58,12 @@ export class Context {
|
||||
.reduce((ctx, val) => __assign(ctx, val), {})
|
||||
}
|
||||
/**
|
||||
* @deprecated use `_get()` instead
|
||||
* @deprecated use `_get()` or `getSync()` instead
|
||||
*/
|
||||
public get (paths: PropertyKey[]): unknown {
|
||||
return this.getSync(paths)
|
||||
}
|
||||
public getSync (paths: PropertyKey[]): unknown {
|
||||
return toValueSync(this._get(paths))
|
||||
}
|
||||
public * _get (paths: PropertyKey[]): IterableIterator<unknown> {
|
||||
|
||||
Reference in New Issue
Block a user