Skip to content

Commit 481ba49

Browse files
committed
add expects to tests
1 parent 4413441 commit 481ba49

File tree

3 files changed

+66
-33
lines changed

3 files changed

+66
-33
lines changed

test/__tests__/index.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ import leftPad from 'left-pad';
22

33
test('not a real test', () => {
44
leftPad('abc');
5+
expect(1).toBe(1);
56
});

test/__tests__/index.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ import leftPad from 'left-pad';
22

33
test('not a real test', () => {
44
leftPad('abc');
5+
expect(1).toBe(1);
56
});

test/yarn.lock

Lines changed: 64 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -99,22 +99,26 @@
9999
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636"
100100
integrity sha512-Il2DtDVRGDcqjDtE+rF8iqg1CArehSK84HZJCT7AMITlyXRBpuPhqGLDQMowraqqu1coEaimg4ZOqggt6L6L+A==
101101

102-
"@typescript-eslint/experimental-utils@^1.13.0":
103-
version "1.13.0"
104-
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-1.13.0.tgz#b08c60d780c0067de2fb44b04b432f540138301e"
105-
integrity sha512-zmpS6SyqG4ZF64ffaJ6uah6tWWWgZ8m+c54XXgwFtUv0jNz8aJAVx8chMCvnk7yl6xwn8d+d96+tWp7fXzTuDg==
102+
"@typescript-eslint/experimental-utils@^2.5.0":
103+
version "2.7.0"
104+
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.7.0.tgz#58d790a3884df3041b5a5e08f9e5e6b7c41864b5"
105+
integrity sha512-9/L/OJh2a5G2ltgBWJpHRfGnt61AgDeH6rsdg59BH0naQseSwR7abwHq3D5/op0KYD/zFT4LS5gGvWcMmegTEg==
106106
dependencies:
107107
"@types/json-schema" "^7.0.3"
108-
"@typescript-eslint/typescript-estree" "1.13.0"
109-
eslint-scope "^4.0.0"
108+
"@typescript-eslint/typescript-estree" "2.7.0"
109+
eslint-scope "^5.0.0"
110110

111-
"@typescript-eslint/typescript-estree@1.13.0":
112-
version "1.13.0"
113-
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.13.0.tgz#8140f17d0f60c03619798f1d628b8434913dc32e"
114-
integrity sha512-b5rCmd2e6DCC6tCTN9GSUAuxdYwCM/k/2wdjHGrIRGPSJotWMCe/dGpi66u42bhuh8q3QBzqM4TMA1GUUCJvdw==
111+
"@typescript-eslint/typescript-estree@2.7.0":
112+
version "2.7.0"
113+
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.7.0.tgz#34fd98c77a07b40d04d5b4203eddd3abeab909f4"
114+
integrity sha512-vVCE/DY72N4RiJ/2f10PTyYekX2OLaltuSIBqeHYI44GQ940VCYioInIb8jKMrK9u855OEJdFC+HmWAZTnC+Ag==
115115
dependencies:
116+
debug "^4.1.1"
117+
glob "^7.1.4"
118+
is-glob "^4.0.1"
116119
lodash.unescape "4.0.1"
117-
semver "5.5.0"
120+
semver "^6.3.0"
121+
tsutils "^3.17.1"
118122

119123
acorn-jsx@^5.0.0:
120124
version "5.0.1"
@@ -274,7 +278,7 @@ debug@^2.6.8, debug@^2.6.9:
274278
dependencies:
275279
ms "2.0.0"
276280

277-
debug@^4.0.1, debug@^4.1.0:
281+
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
278282
version "4.1.1"
279283
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
280284
integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==
@@ -353,7 +357,7 @@ escape-string-regexp@^1.0.5:
353357
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
354358
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
355359

356-
eslint-config-prettier@^6.4.0:
360+
eslint-config-prettier@^6.5.0:
357361
version "6.5.0"
358362
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.5.0.tgz#aaf9a495e2a816865e541bfdbb73a65cc162b3eb"
359363
integrity sha512-cjXp8SbO9VFGW/Z7mbTydqS9to8Z58E5aYhj3e1+Hx7lS9s6gL5ILKNpCqZAFOVYRcSkWPFYljHrEh8QFEK5EQ==
@@ -376,10 +380,10 @@ eslint-module-utils@^2.4.0:
376380
debug "^2.6.8"
377381
pkg-dir "^2.0.0"
378382

379-
eslint-plugin-flowtype@^4.3.0:
380-
version "4.3.0"
381-
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-4.3.0.tgz#06d0837ac341caf369e7e6dbb112dd7fd21acf17"
382-
integrity sha512-elvqoadMHnYqSYN1YXn02DR7SFW8Kc2CLe8na3m2GdQPQhIY+BgCd2quVJ1AbW3aO0zcyE9loVJ7Szy8A/xlMA==
383+
eslint-plugin-flowtype@^4.4.1:
384+
version "4.4.1"
385+
resolved "https://registry.yarnpkg.com/eslint-plugin-flowtype/-/eslint-plugin-flowtype-4.4.1.tgz#b388f42bdc1237f68a8010d2ede52cd67a057e40"
386+
integrity sha512-TNkrdJbvmBEIf02tjMKrYmLILV7OVwcvDUAnrnoGQZJhBMsu61X7E7/A1yvLTsFeDaqhbBx7rgsHzh4Yx7IqvA==
383387
dependencies:
384388
lodash "^4.17.15"
385389

@@ -400,12 +404,12 @@ eslint-plugin-import@^2.18.2:
400404
read-pkg-up "^2.0.0"
401405
resolve "^1.11.0"
402406

403-
eslint-plugin-jest@^22.20.0:
404-
version "22.21.0"
405-
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.21.0.tgz#8137294645866636160487d9764224b9a43e2eb1"
406-
integrity sha512-OaqnSS7uBgcGiqXUiEnjoqxPNKvR4JWG5mSRkzVoR6+vDwlqqp11beeql1hYs0HTbdhiwrxWLxbX0Vx7roG3Ew==
407+
eslint-plugin-jest@^23.0.3:
408+
version "23.0.3"
409+
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-23.0.3.tgz#d3f157f7791f97713372c13259ba1dfc436eb4c1"
410+
integrity sha512-9cNxr66zeOyz1S9AkQL4/ouilR6QHpYj8vKOQZ60fu9hAt5PJWS4KqWqfr1aqN5NFEZSPjFOla2Azn+KTWiGwg==
407411
dependencies:
408-
"@typescript-eslint/experimental-utils" "^1.13.0"
412+
"@typescript-eslint/experimental-utils" "^2.5.0"
409413

410414
eslint-plugin-prettier@^3.1.1:
411415
version "3.1.1"
@@ -456,14 +460,22 @@ eslint-restricted-globals@^0.2.0:
456460
resolved "https://registry.yarnpkg.com/eslint-restricted-globals/-/eslint-restricted-globals-0.2.0.tgz#7729f326af97bec7a7e56d9f7d9c064b79285c50"
457461
integrity sha512-kwYJALm5KS2QW3Mc1PgObO4V+pTR6RQtRT65L1GQILlEnAhabUQqGAX7/qUjoQR4KZJKehWpBtyDEiDecwmY9A==
458462

459-
eslint-scope@^4.0.0, eslint-scope@^4.0.3:
463+
eslint-scope@^4.0.3:
460464
version "4.0.3"
461465
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848"
462466
integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==
463467
dependencies:
464468
esrecurse "^4.1.0"
465469
estraverse "^4.1.1"
466470

471+
eslint-scope@^5.0.0:
472+
version "5.0.0"
473+
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.0.0.tgz#e87c8887c73e8d1ec84f1ca591645c358bfc8fb9"
474+
integrity sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==
475+
dependencies:
476+
esrecurse "^4.1.0"
477+
estraverse "^4.1.1"
478+
467479
eslint-utils@^1.3.1:
468480
version "1.4.2"
469481
resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.2.tgz#166a5180ef6ab7eb462f162fd0e6f2463d7309ab"
@@ -660,6 +672,18 @@ glob@^7.1.3:
660672
once "^1.3.0"
661673
path-is-absolute "^1.0.0"
662674

675+
glob@^7.1.4:
676+
version "7.1.6"
677+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
678+
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
679+
dependencies:
680+
fs.realpath "^1.0.0"
681+
inflight "^1.0.4"
682+
inherits "2"
683+
minimatch "^3.0.4"
684+
once "^1.3.0"
685+
path-is-absolute "^1.0.0"
686+
663687
globals@^11.1.0, globals@^11.7.0:
664688
version "11.12.0"
665689
resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
@@ -781,7 +805,7 @@ is-glob@^3.1.0:
781805
dependencies:
782806
is-extglob "^2.1.0"
783807

784-
is-glob@^4.0.0:
808+
is-glob@^4.0.0, is-glob@^4.0.1:
785809
version "4.0.1"
786810
resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
787811
integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
@@ -1135,10 +1159,10 @@ prettier-linter-helpers@^1.0.0:
11351159
dependencies:
11361160
fast-diff "^1.1.2"
11371161

1138-
prettier@^1.18.2:
1139-
version "1.18.2"
1140-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.18.2.tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea"
1141-
integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw==
1162+
prettier@^1.19.1:
1163+
version "1.19.1"
1164+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
1165+
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==
11421166

11431167
progress@^2.0.0:
11441168
version "2.0.3"
@@ -1262,10 +1286,10 @@ scheduler@^0.13.6:
12621286
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b"
12631287
integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==
12641288

1265-
semver@5.5.0:
1266-
version "5.5.0"
1267-
resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab"
1268-
integrity sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==
1289+
semver@^6.3.0:
1290+
version "6.3.0"
1291+
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
1292+
integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==
12691293

12701294
shebang-command@^1.2.0:
12711295
version "1.2.0"
@@ -1414,11 +1438,18 @@ trim-right@^1.0.1:
14141438
resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
14151439
integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=
14161440

1417-
tslib@^1.9.0:
1441+
tslib@^1.8.1, tslib@^1.9.0:
14181442
version "1.10.0"
14191443
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
14201444
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
14211445

1446+
tsutils@^3.17.1:
1447+
version "3.17.1"
1448+
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"
1449+
integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g==
1450+
dependencies:
1451+
tslib "^1.8.1"
1452+
14221453
type-check@~0.3.2:
14231454
version "0.3.2"
14241455
resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72"

0 commit comments

Comments
 (0)