{"_id":"wait-for-expect","_rev":"286272","name":"wait-for-expect","description":"Wait for expectation to be true, useful for integration and end to end testing","dist-tags":{"latest":"3.0.2","next":"0.6.0","typescript":"0.3.0"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"time":{"modified":"2021-06-03T18:36:02.000Z","created":"2018-03-23T13:26:54.462Z","3.0.2":"2020-02-06T10:39:33.751Z","3.0.1":"2019-10-25T15:05:24.924Z","3.0.0":"2019-09-24T15:05:25.540Z","2.0.0":"2019-08-20T17:21:19.795Z","1.3.0":"2019-08-09T08:23:35.678Z","1.2.0":"2019-05-16T08:00:22.516Z","1.1.1":"2019-03-25T10:36:43.099Z","1.1.0":"2018-11-16T08:54:52.469Z","1.0.1":"2018-09-25T13:54:14.674Z","1.0.0":"2018-06-15T14:32:00.528Z","0.6.2":"2018-05-10T16:04:36.934Z","0.6.1":"2018-05-03T13:17:45.487Z","0.6.0":"2018-05-03T11:40:52.355Z","0.5.0":"2018-04-10T06:13:49.281Z","0.4.0":"2018-03-29T12:56:10.778Z","0.3.0":"2018-03-29T12:43:18.115Z","0.1.0":"2018-03-28T12:24:40.371Z","0.0.4":"2018-03-23T17:39:49.994Z","0.0.3":"2018-03-23T17:39:21.707Z","0.0.2":"2018-03-23T13:42:37.990Z","0.0.1":"2018-03-23T13:26:54.462Z"},"users":{},"author":{"name":"Lukasz Gandecki"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"versions":{"3.0.2":{"name":"wait-for-expect","version":"3.0.2","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint --report-unused-disable-directives src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","@typescript-eslint/eslint-plugin":"^2.5.0","@typescript-eslint/parser":"^2.5.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^1.0.0","eslint":"^6.5.1","eslint-config-airbnb-base":"^14.0.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^2.6.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","semantic-release":"^15.12.0","typescript":"~3.2.4"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$","testURL":"http://localhost/"},"gitHead":"6be6e2ed8e47fd5bc62ab2fc4bd39289c58f2f66","_id":"wait-for-expect@3.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"d2f14b2f7b778c9b82144109c8fa89ceaadaa463","size":9368,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-3.0.2.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_3.0.2_1580985573637_0.8237176434061155"},"_hasShrinkwrap":false,"publish_time":1580985573751,"_cnpm_publish_time":1580985573751},"3.0.1":{"name":"wait-for-expect","version":"3.0.1","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint --report-unused-disable-directives src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","@typescript-eslint/eslint-plugin":"^2.5.0","@typescript-eslint/parser":"^2.5.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^1.0.0","eslint":"^6.5.1","eslint-config-airbnb-base":"^14.0.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.18.2","eslint-plugin-prettier":"^2.6.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","semantic-release":"^15.12.0","typescript":"~3.2.4"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"a59b638a212ceb4f4bf2a7150c176be4fa584a15","_id":"wait-for-expect@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"ec204a76b0038f17711e575720aaf28505ac7185","size":9344,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-3.0.1.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_3.0.1_1572015924729_0.8832101573547197"},"_hasShrinkwrap":false,"publish_time":1572015924924,"_cnpm_publish_time":1572015924924},"3.0.0":{"name":"wait-for-expect","version":"3.0.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^1.0.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","semantic-release":"^15.12.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"dd272db889cac5b408f5b1d8bb91fb2ed911d236","_id":"wait-for-expect@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"d6fbf28959e3b8779dc172fb1ea56bf1e833bf7a","size":9294,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-3.0.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_3.0.0_1569337525413_0.7242213298534714"},"_hasShrinkwrap":false,"publish_time":1569337525540,"_cnpm_publish_time":1569337525540},"2.0.0":{"name":"wait-for-expect","version":"2.0.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^1.0.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","semantic-release":"^15.12.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"a6f0b7268b057c3245707a68a4f84d8e1dafd61f","_id":"wait-for-expect@2.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"22b24cbd94a59acbf4e4cd13c8d3cd022ddf0cdf","size":8961,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-2.0.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_2.0.0_1566321679622_0.6805885559973393"},"_hasShrinkwrap":false,"publish_time":1566321679795,"_cnpm_publish_time":1566321679795},"1.3.0":{"name":"wait-for-expect","version":"1.3.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^1.0.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","semantic-release":"^15.12.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"e1962de9ad1699ff65983aa79e31be992cf0206d","_id":"wait-for-expect@1.3.0","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"65241ce355425f907f5d127bdb5e72c412ff830c","size":8902,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-1.3.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_1.3.0_1565339015495_0.3016379242220091"},"_hasShrinkwrap":false,"publish_time":1565339015678,"_cnpm_publish_time":1565339015678},"1.2.0":{"name":"wait-for-expect","version":"1.2.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^1.0.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","semantic-release":"^15.12.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"7bf926a9b347ff297bdc3e4099fb123d85935392","_id":"wait-for-expect@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"fdab6a26e87d2039101db88bff3d8158e5c3e13f","size":8467,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-1.2.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_1.2.0_1557993622379_0.7624370788624977"},"_hasShrinkwrap":false,"publish_time":1557993622516,"_cnpm_publish_time":1557993622516},"1.1.1":{"name":"wait-for-expect","version":"1.1.1","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^1.0.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","semantic-release":"^15.12.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"872b811c8fb5a69812c1d0a5b1518cd60dcb22b0","_id":"wait-for-expect@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"9cd10e07d52810af9e0aaf509872e38f3c3d81ae","size":7831,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-1.1.1.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_1.1.1_1553510202905_0.38859472637347836"},"_hasShrinkwrap":false,"publish_time":1553510203099,"_cnpm_publish_time":1553510203099},"1.1.0":{"name":"wait-for-expect","version":"1.1.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^0.2.1","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","semantic-release":"^15.12.0","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"0f11a85f704561b98d87b8039855c925b422766d","_id":"wait-for-expect@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.10.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"6607375c3f79d32add35cd2c87ce13f351a3d453","size":7831,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-1.1.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_1.1.0_1542358492295_0.4789015983665308"},"_hasShrinkwrap":false,"publish_time":1542358492469,"_cnpm_publish_time":1542358492469},"1.0.1":{"name":"wait-for-expect","version":"1.0.1","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^0.2.1","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"435fc2d0b782612ef8fa0cec4fac614c5ac2be6d","_id":"wait-for-expect@1.0.1","_npmVersion":"6.2.0","_nodeVersion":"10.8.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"73ab346ed56ed2ef66c380a59fd623755ceac0ce","size":10306,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-1.0.1.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_1.0.1_1537883654495_0.07604961901417528"},"_hasShrinkwrap":false,"publish_time":1537883654674,"_cnpm_publish_time":1537883654674},"1.0.0":{"name":"wait-for-expect","version":"1.0.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","babel-plugin-add-module-exports":"^0.2.1","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"e910af64c054eda3bd4cf5931c3e296d419504ff","_id":"wait-for-expect@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"edf2d5790c36dc67c4e21ac6ccedd7d4b79dc6ac","size":13734,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-1.0.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_1.0.0_1529073120456_0.5309876821517774"},"_hasShrinkwrap":false,"publish_time":1529073120528,"_cnpm_publish_time":1529073120528},"0.6.2":{"name":"wait-for-expect","version":"0.6.2","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"da132ba454b1295e97a36328825d729d05b2bed2","_id":"wait-for-expect@0.6.2","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"0dfacee10764853c6fcd0b67456d53eff01e1f21","size":13302,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.6.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.6.2.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.6.2_1525968276847_0.3098886393564586"},"_hasShrinkwrap":false,"publish_time":1525968276934,"_cnpm_publish_time":1525968276934},"0.6.1":{"name":"wait-for-expect","version":"0.6.1","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"99c82a107e43c8a1dca85895df8e38fcc5f94cf4","_id":"wait-for-expect@0.6.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"cd129b035d550ad4e19f7354aed312763661f636","size":13314,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.6.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.6.1.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.6.1_1525353465419_0.683452538188074"},"_hasShrinkwrap":false,"publish_time":1525353465487,"_cnpm_publish_time":1525353465487},"0.6.0":{"name":"wait-for-expect","version":"0.6.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"305c567df86d3c49701690b2914acc918f36882e","readmeFilename":"README.md","_id":"wait-for-expect@0.6.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"75a9adf28ccde6a8a971926e0fe4e539e5c3f5ef","size":13257,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.6.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.6.0_1525347652304_0.7503997466479935"},"_hasShrinkwrap":false,"publish_time":1525347652355,"_cnpm_publish_time":1525347652355},"0.5.0":{"name":"wait-for-expect","version":"0.5.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"305c567df86d3c49701690b2914acc918f36882e","_id":"wait-for-expect@0.5.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"cc935a94c6039967bd7760c9e9cc557f4674887a","size":12082,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.5.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.5.0_1523340829214_0.8463604973717547"},"_hasShrinkwrap":false,"publish_time":1523340829281,"_cnpm_publish_time":1523340829281},"0.4.0":{"name":"wait-for-expect","version":"0.4.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","typescript":"^2.7.2","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"gitHead":"9c52efd7a9eb1c77e365ebdf19619586ea8b3e36","_id":"wait-for-expect@0.4.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"341c96ab89d6102a0169a9be6cd0de354de92c17","size":11729,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.4.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.4.0_1522328170712_0.7542927647721149"},"_hasShrinkwrap":false,"publish_time":1522328170778,"_cnpm_publish_time":1522328170778},"0.3.0":{"name":"wait-for-expect","version":"0.3.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"test":"eslint src/**/*.ts && jest","build":"tsc --emitDeclarationOnly && babel src --out-dir lib --extensions \".ts,.tsx\"","build:watch":"npm run build -- --watch","type-check":"tsc --noEmit"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"@babel/cli":"^7.0.0-beta.42","@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-class-properties":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","@babel/preset-typescript":"^7.0.0-beta.42","@types/eslint":"^4.16.0","@types/eslint-plugin-prettier":"^2.2.0","@types/jest":"^22.2.2","@types/node":"^9.6.1","@types/prettier":"^1.10.0","@types/typescript":"^2.0.0","babel-core":"^7.0.0-0","babel-jest":"^22.4.3","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","eslint-plugin-typescript":"^0.11.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1","types-installer":"^1.4.0","typescript":"^2.7.2","typescript-babel-jest":"^1.0.5","typescript-eslint-parser":"^14.0.0"},"jest":{"snapshotSerializers":["jest-serializer-ansi"],"moduleDirectories":["./node_modules","./src"],"moduleFileExtensions":["ts","tsx","js","jsx"],"transform":{"^.+\\.(js|jsx|ts|tsx)$":"babel-jest"},"testRegex":"/src/.*\\.spec\\.(js|ts|tsx)$"},"readmeFilename":"README.md","gitHead":"f8d5c63c53c76b1211d04c81a4342f18adab4ee1","_id":"wait-for-expect@0.3.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"a09a9804df14ecd732afdd4c7128b637126dcee4","size":11730,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.3.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.3.0_1522327397950_0.08405120702795066"},"_hasShrinkwrap":false,"publish_time":1522327398115,"_cnpm_publish_time":1522327398115},"0.1.0":{"name":"wait-for-expect","version":"0.1.0","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"src/index.js","scripts":{"test":"eslint . && jest"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","jest":"^22.4.3","jest-serializer-ansi":"^1.0.3","prettier":"^1.11.1"},"jest":{"snapshotSerializers":["jest-serializer-ansi"]},"gitHead":"dc5149e5c511f278c032f84c8daf2ce9a58c7425","_id":"wait-for-expect@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"2cae7e7465fb952013d959e5836fb6f255588b15","size":4361,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.1.0.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.1.0_1522239880319_0.7488787960182524"},"_hasShrinkwrap":false,"publish_time":1522239880371,"_cnpm_publish_time":1522239880371},"0.0.4":{"name":"wait-for-expect","version":"0.0.4","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"src/index.js","scripts":{"test":"eslint . && jest"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","jest":"^22.4.3","prettier":"^1.11.1"},"gitHead":"cc44e9381caf9947cac72b0a04ea32dbd4529b8c","_id":"wait-for-expect@0.0.4","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"9af50f7aea57121876a99f83312243e39e0a23f0","size":3564,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.0.4.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.0.4_1521826789858_0.4105779094370743"},"_hasShrinkwrap":false,"publish_time":1521826789994,"_cnpm_publish_time":1521826789994},"0.0.3":{"name":"wait-for-expect","version":"0.0.3","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"src/index.js","scripts":{"test":"eslint . && jest"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","jest":"^22.4.3","prettier":"^1.11.1"},"gitHead":"5099d8712924b4bc24555d465a9de66807fecb00","_id":"wait-for-expect@0.0.3","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"6d3d53a3c3f18467f623060abed222a92e3388d1","size":3232,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.0.3.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.0.3_1521826761616_0.366543440790031"},"_hasShrinkwrap":false,"publish_time":1521826761707,"_cnpm_publish_time":1521826761707},"0.0.2":{"name":"wait-for-expect","version":"0.0.2","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"src/index.js","scripts":{"test":"eslint . && jest"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","jest":"^22.4.3","prettier":"^1.11.1"},"gitHead":"3b6c1828326f490e9f13f4dc8b42224b30f967da","_id":"wait-for-expect@0.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"520bb49ac4106e44f390dd19dd12a6720d855803","size":3232,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.0.2.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.0.2_1521812557916_0.9652076022347529"},"_hasShrinkwrap":false,"publish_time":1521812557990,"_cnpm_publish_time":1521812557990},"0.0.1":{"name":"wait-for-expect","version":"0.0.1","description":"Wait for expectation to be true, useful for integration and end to end testing","main":"src/index.js","scripts":{"test":"eslint . && jest"},"repository":{"type":"git","url":"git+https://github.com/TheBrainFamily/wait-for-expect.git"},"keywords":["jest","expect","wait","async","await","promise","integration","testing","unit"],"author":{"name":"Lukasz Gandecki"},"license":"MIT","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","devDependencies":{"eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-config-prettier":"^2.9.0","eslint-plugin-import":"^2.9.0","eslint-plugin-prettier":"^2.6.0","jest":"^22.4.3","prettier":"^1.11.1"},"gitHead":"366ea71e55cf515a5cd14d796bbe72136f281eea","_id":"wait-for-expect@0.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.3.0","_npmUser":{"name":"lgandecki","email":"lgandecki@thebrain.pro"},"dist":{"shasum":"a2ba3b595eaa96a0b9ac9f39516fda6e9466cfde","size":2852,"noattachment":false,"key":"/wait-for-expect/-/wait-for-expect-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/wait-for-expect/download/wait-for-expect-0.0.1.tgz"},"maintainers":[{"name":"lgandecki","email":"lgandecki@thebrain.pro"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wait-for-expect_0.0.1_1521811614399_0.8620576788579992"},"_hasShrinkwrap":false,"publish_time":1521811614462,"_cnpm_publish_time":1521811614462}},"readme":"[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n[![CircleCI](https://circleci.com/gh/TheBrainFamily/wait-for-expect.svg?style=shield)](https://circleci.com/gh/TheBrainFamily/wait-for-expect)\n\n# wait-for-expect\nWait for expectation to be true, useful for integration and end to end testing\n\nThink things like calling external APIs, database operations, or even GraphQL subscriptions. \nWe will add examples for all of them soon, for now please enjoy the simple docs. :-)\n\n# Usage:\n\n```javascript\nconst waitForExpect = require(\"wait-for-expect\")\n\ntest(\"it waits for the number to change\", async () => {\n  let numberToChange = 10;\n  // we are using random timeout here to simulate a real-time example\n  // of an async operation calling a callback at a non-deterministic time\n  const randomTimeout = Math.floor(Math.random() * 300);\n\n  setTimeout(() => {\n    numberToChange = 100;\n  }, randomTimeout);\n\n  await waitForExpect(() => {\n    expect(numberToChange).toEqual(100);\n  });\n});\n```\n\ninstead of:\n\n```javascript\n\ntest(\"it waits for the number to change\", () => {\n  let numberToChange = 10;\n  const randomTimeout = Math.floor(Math.random() * 300);\n\n  setTimeout(() => {\n    numberToChange = 100;\n  }, randomTimeout);\n  \n  setTimeout(() => {\n    expect(numberToChange).toEqual(100);\n  }, 700);\n});\n```\n\nIt will check whether the expectation passes right away in the next available \"tick\" (very useful with, for example, integration testing of react when mocking fetches, like here: https://github.com/kentcdodds/react-testing-library#usage).\n\nIf it doesn't, it will keep repeating for the duration of, at most, the specified timeout, every 50 ms. The default timeout is 4.5 seconds to fit below the default 5 seconds that Jest waits for before throwing an error. \n\nNice thing about this simple tool is that if the expectation keeps failing till the timeout, it will check it one last time, but this time the same way your test runner would run it - so you basically get your expectation library error, the sam way like if you used setTimeout to wait but didn't wait long enough.\n\nTo show an example - if I change the expectation to wait for 105 in above code, you will get nice and familiar:\n\n```\n\n FAIL  src/waitForExpect.spec.js (5.042s)\n  ✕ it waits for the number to change (4511ms)\n\n  ● it waits for the number to change\n\n    expect(received).toEqual(expected)\n    \n    Expected value to equal:\n      105\n    Received:\n      100\n\n       9 |   }, 600);\n      10 |   await waitForExpect(() => {\n    > 11 |     expect(numberToChange).toEqual(105);\n      12 |   });\n      13 | });\n      14 | \n      \n      at waitForExpect (src/waitForExpect.spec.js:11:28)\n      at waitUntil.catch (src/index.js:61:5)\n\nTest Suites: 1 failed, 1 total\nTests:       1 failed, 1 total\nSnapshots:   0 total\nTime:        5.807s\n```\n\nYou can add multiple expectations to wait for, all of them have to pass, and if one of them don't, it will be marked.\nFor example, let's add another expectation for a different number, notice how jest tells you that that's the expectation that failed.\n\n```\n    expect(received).toEqual(expected)\n    \n    Expected value to equal:\n      110\n    Received:\n      105\n\n      11 |   await waitForExpect(() => {\n      12 |     expect(numberToChange).toEqual(100);\n    > 13 |     expect(numberThatWontChange).toEqual(110);\n      14 |   });\n      15 | });\n      16 | \n      \n      at waitForExpect (src/waitForExpect.spec.js:13:34)\n      at waitUntil.catch (src/index.js:61:5)\n```\n\nSince 0.6.0 we can now work with promises, for example, this is now possible:\n\n```javascript\ntest(\"rename todo by typing\", async () => {\n  // (..)\n  const todoToChange = getTodoByText(\"original todo\");\n  todoToChange.value = \"different text now\";\n  Simulate.change(todoToChange);\n\n  await waitForExpect(() =>\n    expect(\n      todoItemsCollection.findOne({\n        text: \"different text now\"\n      })).resolves.not.toBeNull()\n  );\n});\n```\n\nAsync Await also works, as in this example - straight from our test case\n\n```javascript\ntest(\"it works with promises\", async () => {\n  let numberToChange = 10;\n  const randomTimeout = Math.floor(Math.random() * 300);\n\n  setTimeout(() => {\n    numberToChange = 100;\n  }, randomTimeout);\n\n  const sleep = (ms) =>\n    new Promise(resolve => setTimeout(() => resolve(), ms));\n\n  await waitForExpect(async () => {\n    await sleep(10);\n    expect(numberToChange).toEqual(100);\n  });\n});\n```\n\n(Note: Obviously, in this case it doesn't make sense to put the await sleep there, this is just for demonstration purpose)\n\n# API\nwaitForExpect takes 3 arguments, 2 optional.\n\n```javascript\n/**\n * Waits for predicate to not throw and returns a Promise\n *\n * @param  expectation  Function  Predicate that has to complete without throwing\n * @param  timeout  Number  Maximum wait interval, 4500ms by default\n * @param  interval  Number  Wait interval, 50ms by default\n * @return  Promise  Promise to return a callback result\n */\n```\n\nThe defaults for `timeout` and `interval` can also be edited globally, e.g. in a jest setup file:\n```javascript\nimport waitForExpect from 'wait-for-expect';\n\nwaitForExpect.defaults.timeout = 2000;\nwaitForExpect.defaults.interval = 10;\n```\n\n## Changelog\n1.0.0 - 15 June 2018\n\n( For most people this change doesn't matter. )\nExport the function directly in module.exports instead of exporting as an object that has default key. If that's not clear (...it isn't ;-) ) - check #8 #9 . \nThanks to @mbaranovski for the PR and @BenBrostoff for creating the issue! I'm making this 1.0.0 as this is breaking for people that currently did:\n```javascript\nconst { default: waitFor } = require('wait-for-expect');\n```\n\n0.6.0 - 3 May 2018\n\nWork with promises.\n\n0.5.0 - 10 April 2018\n\nPlay nicely with jest fake timers (and also in any test tool that overwrites setTimeout) - thanks to @slightlytyler and @kentcoddods for helping to get this resolved.\n\n## Credit\nOriginally based on ideas from https://github.com/devlato/waitUntil.\nSimplified highly and rewritten for 0.1.0 version.\nSimplified even more and rewritten even more for 0.2.0 with guidance from Kent C. Dodds: https://github.com/kentcdodds/react-testing-library/pull/25","_attachments":{},"homepage":"https://github.com/TheBrainFamily/wait-for-expect#readme","bugs":{"url":"https://github.com/TheBrainFamily/wait-for-expect/issues"},"license":"MIT"}