Skip to content

Commit 82ec3cb

Browse files
authored
Merge pull request #271 from hmsk/renovate/typescript-4.x
Update dependency typescript to v4.1.2
2 parents 5f785e2 + 4c2973f commit 82ec3cb

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"rollup-plugin-node-resolve": "5.2.0",
4747
"rollup-plugin-typescript2": "0.29.0",
4848
"ts-jest": "26.4.4",
49-
"typescript": "4.0.5",
49+
"typescript": "4.1.2",
5050
"vue": "2.6.12",
5151
"vue-jest": "3.0.7",
5252
"vue-template-compiler": "2.6.12",

src/matchers/toHide.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function toHideInNextTick <V extends Vue, R extends Vue | DefaultProps |
7777
): MatcherResult | Promise<MatcherResult> {
7878
const wrappedAction = () => new Promise((resolve) => {
7979
action();
80-
wrapper.vm.$nextTick(() => { resolve(); });
80+
wrapper.vm.$nextTick(() => { resolve(null); });
8181
});
8282
return toHide(wrappedAction, wrapper, findArgument);
8383
}

src/matchers/toShow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export function toShowInNextTick <V extends Vue, R extends Vue | DefaultProps |
7777
): MatcherResult | Promise<MatcherResult> {
7878
const wrappedAction = () => new Promise((resolve) => {
7979
action();
80-
wrapper.vm.$nextTick(() => { resolve(); });
80+
wrapper.vm.$nextTick(() => { resolve(null); });
8181
});
8282
return toShow(wrappedAction, wrapper, findArgument);
8383
}

test/emit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const emitEventOnRoot = (wrapper, eventName, payload) => {
3232
const doAsyncronously = (callback: Function): Promise<any> => {
3333
return new Promise((resolve) => {
3434
callback();
35-
resolve();
35+
resolve(null);
3636
});
3737
}
3838

test/store.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ config({
2222
const doAsyncronously = (callback: Function): Promise<any> => {
2323
return new Promise((resolve) => {
2424
callback();
25-
resolve();
25+
resolve(null);
2626
});
2727
}
2828

0 commit comments

Comments
 (0)