Skip to content

Commit bddba73

Browse files
committed
fix: remove unecessary async functions
1 parent 8b0e709 commit bddba73

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/gotham-node.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ makeConnectionTests('Initalize Tests', function () {
7171
}, false);
7272

7373
makeConnectionTests('Test if requests constructed correctly', function () {
74-
it('declareFunction', async function () {
74+
it('declareFunction', function () {
7575
this.test.module.declareFunction('test_fn', () => { });
7676
const message = this.test.getLatestSent();
7777
expect(message).excluding('requestId').to.deep.equal({
@@ -81,7 +81,7 @@ makeConnectionTests('Test if requests constructed correctly', function () {
8181
});
8282

8383

84-
it('functionCall with empty args', async function () {
84+
it('functionCall with empty args', function () {
8585
this.test.module.functionCall('module.test_fn');
8686
const message = this.test.getLatestSent();
8787
expect(message).excluding('requestId').to.deep.equal({
@@ -91,7 +91,7 @@ makeConnectionTests('Test if requests constructed correctly', function () {
9191
});
9292
});
9393

94-
it('functionCall with args', async function () {
94+
it('functionCall with args', function () {
9595
this.test.module.functionCall('module.test_fn', {
9696
a: 1,
9797
b: 2
@@ -107,7 +107,7 @@ makeConnectionTests('Test if requests constructed correctly', function () {
107107
});
108108
});
109109

110-
it('registerHook', async function () {
110+
it('registerHook', function () {
111111
this.test.module.registerHook('test_hook', () => { });
112112
const message = this.test.getLatestSent();
113113
expect(message).excluding('requestId').to.deep.equal({
@@ -116,7 +116,7 @@ makeConnectionTests('Test if requests constructed correctly', function () {
116116
});
117117
});
118118

119-
it('triggerHook', async function () {
119+
it('triggerHook', function () {
120120
this.test.module.triggerHook('test_hook');
121121
const message = this.test.getLatestSent();
122122
expect(message).excluding('requestId').to.deep.equal({

0 commit comments

Comments
 (0)