Skip to content

Commit

Permalink
Merge a69d746 into e5790c8
Browse files Browse the repository at this point in the history
  • Loading branch information
plusgut committed Jul 19, 2018
2 parents e5790c8 + a69d746 commit ad8d959
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzyme-adapter-plusnew",
"version": "0.5.102",
"version": "0.5.108",
"description": "adapter for enzyme testsuite to the plusnew framework",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -23,7 +23,7 @@
"devDependencies": {
"concurrently": "3.5.1",
"enzyme": "3.3.0",
"plusnew": "0.5.105",
"plusnew": "0.5.108",
"plusnew-karma-config": "0.5.69",
"plusnew-webpack-config": "0.5.94",
"tslint": "5.9.1",
Expand Down
8 changes: 6 additions & 2 deletions src/wrapper/PlusnewCommonWrapper.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import ComponentInstance from 'plusnew/dist/src/instances/types/Component/Instance';
import { componentResult, Instance } from 'plusnew';
import { Component as AppComponent, Instance } from 'plusnew';

type selector = string | componentResult<any>;
export type AppComponentContainer = {
new (props: any): AppComponent<any>;
};

type selector = string | AppComponentContainer;
type predicate<T> = (instance: T) => boolean;

abstract class PlusnewCommonWrapper {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4609,9 +4609,9 @@ plusnew-webpack-config@0.5.94:
webpack "4.5.0"
webpack-cli "2.0.14"

plusnew@0.5.105:
version "0.5.105"
resolved "https://registry.yarnpkg.com/plusnew/-/plusnew-0.5.105.tgz#ebe410098da959da698a7aaccb25490501e121f5"
plusnew@0.5.108:
version "0.5.108"
resolved "https://registry.yarnpkg.com/plusnew/-/plusnew-0.5.108.tgz#110bef268250c57b784932930def95e3e1bf51f6"
dependencies:
redchain "0.5.102"

Expand Down

0 comments on commit ad8d959

Please sign in to comment.