Skip to content

Commit 1aaa39c

Browse files
committed
record behavior
1 parent e2df6d2 commit 1aaa39c

File tree

9 files changed

+11
-21
lines changed

9 files changed

+11
-21
lines changed

test-workspace/fixtures/2KeysInOutput/output.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ stack('this is an example', {
77
});
88
import exampleFunction from '../../stacks/exampleFunction';
99

10-
exampleFunction(
11-
'this is a brief'
12-
);
10+
await exampleFunction('this is a brief');
1311

1412
/**
1513
* Brief: this is an example

test-workspace/fixtures/2integers/output.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ stack('multiply two numbers', {
88

99
import multiplyNumbers from '../../stacks/multiplyNumbers';
1010

11-
multiplyNumbers(
12-
2, 5
13-
);
11+
await multiplyNumbers(2, 5);
1412

1513

1614

test-workspace/fixtures/arrays/output.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ stack(
77

88
import validateInputArray from '../../stacks/validateInputArray';
99

10-
validateInputArray(
11-
'this is an example', 'this is an example'
12-
);
10+
await validateInputArray('this is an example', 'this is an example');
1311

1412

1513
/**

test-workspace/fixtures/basicUseCase/output.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ stack('this is an example', {
66

77
import exampleFunction from '../../stacks/exampleFunction';
88

9-
exampleFunction(
10-
'ok'
11-
);
9+
await exampleFunction('ok');
1210

1311

1412

test-workspace/fixtures/boolean/output.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ stack('this is an example', {
88
import exampleFunction from '../../stacks/exampleFunction';
99

1010

11-
exampleFunction(
12-
true
13-
);
11+
await exampleFunction(true);
1412

1513

1614

test-workspace/fixtures/callWithAwait/input.ts

Whitespace-only changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
3+
4+

test-workspace/fixtures/inputEmptyString/output.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ stack('this is an example', {
55

66
import generateBooleanOutput from '../../stacks/generateBooleanOutput';
77

8-
generateBooleanOutput(
9-
''
10-
);
8+
await generateBooleanOutput('');
119

1210

1311
/**

test-workspace/fixtures/simple/output.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ stack('this is an example', {
77

88
import generateBooleanOutput from '../../stacks/generateBooleanOutput';
99

10-
generateBooleanOutput(
11-
'this is an example'
12-
);
10+
await generateBooleanOutput('this is an example');
1311

1412

1513

0 commit comments

Comments
 (0)