Skip to content

Commit e0253bb

Browse files
committed
Typos
1 parent 24d19e0 commit e0253bb

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

__tests__/html2/middleware/activity/invalidMiddleware.createdOutsideOfFactory.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
await pageConditions.uiConnected();
6666

67-
// WHEN: A messages arrive "Hello, World!".
67+
// WHEN: A message arrive "Hello, World!".
6868
await directLine.emulateIncomingActivity({
6969
text: 'Hello, World!',
7070
type: 'message'

__tests__/html2/middleware/activity/legacyActivityMiddleware/hideTimestamp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
await pageConditions.uiConnected();
6262

63-
// WHEN: Two messages arrives: "Hello, World!" and "Aloha!"
63+
// WHEN: Two messages arrive: "Hello, World!" and "Aloha!"
6464
await directLine.emulateIncomingActivity({
6565
text: 'Hello, World!',
6666
timestamp: 0,

__tests__/html2/middleware/activity/legacyActivityMiddleware/showCallout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
await pageConditions.uiConnected();
6767

68-
// WHEN: Two messages arrives: "Hello, World!" and "Aloha!"
68+
// WHEN: Two messages arrive: "Hello, World!" and "Aloha!"
6969
await directLine.emulateIncomingActivity({
7070
text: 'Hello, World!',
7171
timestamp: 0,

packages/api-middleware/src/private/templatePolymiddleware.check.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test('should throw if middleware is not a function', () => {
2020
expect(() => template.createMiddleware(1 as any)).toThrow('enhancer must be of type function');
2121
});
2222

23-
test('should not warn if middleware return false', () => {
23+
test('should not warn if middleware returns false', () => {
2424
const warn = jest.fn();
2525
const template = templatePolymiddleware('Check' as any);
2626

@@ -31,7 +31,7 @@ test('should not warn if middleware return false', () => {
3131
expect(warn).toHaveBeenCalledTimes(0);
3232
});
3333

34-
test('should not warn if middleware return function', () => {
34+
test('should not warn if middleware returns function', () => {
3535
const warn = jest.fn();
3636
const template = templatePolymiddleware('Check' as any);
3737

0 commit comments

Comments
 (0)