Skip to content
This repository was archived by the owner on Jul 14, 2020. It is now read-only.

Commit e45c421

Browse files
authored
Merge pull request #60 from bigtestjs/tm/this-only-undefined
Ensure a valid target when this.only is not available
2 parents b593652 + eb242ff commit e45c421

3 files changed

Lines changed: 8 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55

66
## [Unreleased]
77

8+
## [0.9.2] - 2018-02-05
9+
10+
### Fixed
11+
12+
- Make sure $root descriptor function is not wrapped in the chaining mechanism - https://github.com/bigtestjs/interactor/pull/60
13+
814
## [0.9.1] - 2018-10-23
915

1016
### Changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@bigtest/interactor",
33
"description": "Interaction library for testing big",
4-
"version": "0.9.1",
4+
"version": "0.9.2",
55
"license": "MIT",
66
"repository": "https://github.com/bigtestjs/interactor",
77
"main": "dist/umd/index.js",

src/utils/parent-chainable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default function makeParentChainable(instance) {
9191
let { value, get } = descriptor;
9292

9393
// do not include the constructor or non-configurable descriptors
94-
if (key === 'constructor' ||
94+
if (key === 'constructor' || key === '$root' ||
9595
descriptor.configurable === false) {
9696
return acc;
9797
}

0 commit comments

Comments
 (0)