Skip to content

Commit d5f7b83

Browse files
committed
test: remove unused async keyword
1 parent 7d2e4e2 commit d5f7b83

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/modifiers-text.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { SyntaxKind } from "ts-morph";
33
import { expect, test } from "vitest";
44
import { modifiersText } from "./modifiers-text.ts";
55

6-
test("ignore public keyword", async () => {
6+
test("ignore public keyword", () => {
77
expect(
88
modifiersText(
99
fromPartial({
@@ -24,7 +24,7 @@ test("ignore public keyword", async () => {
2424
).toBe("");
2525
});
2626

27-
test("collect and return modifiers", async () => {
27+
test("collect and return modifiers", () => {
2828
expect(
2929
modifiersText(
3030
fromPartial({

src/source-file-path.test.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { fromPartial } from "@total-typescript/shoehorn";
22
import { expect, test } from "vitest";
33
import { sourceFilePath } from "./source-file-path.ts";
44

5-
test("empty path", async () => {
5+
test("empty path", () => {
66
expect(
77
sourceFilePath(
88
fromPartial({
@@ -18,7 +18,7 @@ test("empty path", async () => {
1818
).toBe("");
1919
});
2020

21-
test("only filename", async () => {
21+
test("only filename", () => {
2222
expect(
2323
sourceFilePath(
2424
fromPartial({
@@ -34,7 +34,7 @@ test("only filename", async () => {
3434
).toBe("index.ts");
3535
});
3636

37-
test("dir and filename", async () => {
37+
test("dir and filename", () => {
3838
expect(
3939
sourceFilePath(
4040
fromPartial({
@@ -50,7 +50,7 @@ test("dir and filename", async () => {
5050
).toBe("/src/index.ts");
5151
});
5252

53-
test("node_modules, dir and filename", async () => {
53+
test("node_modules, dir and filename", () => {
5454
expect(
5555
sourceFilePath(
5656
fromPartial({
@@ -66,7 +66,7 @@ test("node_modules, dir and filename", async () => {
6666
).toBe("/src/index.ts");
6767
});
6868

69-
test("temp dir, node_modules, package dir and filename", async () => {
69+
test("temp dir, node_modules, package dir and filename", () => {
7070
expect(
7171
sourceFilePath(
7272
fromPartial({
@@ -82,7 +82,7 @@ test("temp dir, node_modules, package dir and filename", async () => {
8282
).toBe("/my-package/src/index.ts");
8383
});
8484

85-
test("temp dir, node_modules, scoped package dir and filename", async () => {
85+
test("temp dir, node_modules, scoped package dir and filename", () => {
8686
expect(
8787
sourceFilePath(
8888
fromPartial({

src/type-checker-type.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { fromPartial } from "@total-typescript/shoehorn";
22
import { expect, test } from "vitest";
33
import { typeCheckerType } from "./type-checker-type.ts";
44

5-
test("return `any` in case of errors", async () => {
5+
test("return `any` in case of errors", () => {
66
expect(
77
typeCheckerType(
88
fromPartial({

0 commit comments

Comments
 (0)