Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e3db25e

Browse files
committedJul 23, 2019
fix(transport): update transport e2e test and rename tests
1 parent 2b6ea2e commit e3db25e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎test/e2e/ProvidePlugin.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const port = require('../ports-map').ProvidePlugin;
88
const { beforeBrowserCloseDelay } = require('../helpers/puppeteer-constants');
99

1010
describe('ProvidePlugin', () => {
11-
describe('inline with default clientMode (sockjs)', () => {
11+
describe('inline with default transportMode.client (sockjs)', () => {
1212
beforeAll((done) => {
1313
const options = {
1414
port,
@@ -46,7 +46,7 @@ describe('ProvidePlugin', () => {
4646
});
4747
});
4848

49-
describe('inline with clientMode ws', () => {
49+
describe('inline with transportMode.client ws', () => {
5050
beforeAll((done) => {
5151
const options = {
5252
port,

‎test/e2e/__snapshots__/TransportMode.test.js.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`clientMode custom client on browser client logs correctly 1`] = `
3+
exports[`transportMode client custom client on browser client logs correctly 1`] = `
44
Array [
55
"Hey.",
66
"open",
@@ -13,15 +13,15 @@ Array [
1313
]
1414
`;
1515

16-
exports[`clientMode sockjs on browser client logs correctly 1`] = `
16+
exports[`transportMode client sockjs on browser client logs correctly 1`] = `
1717
Array [
1818
"Hey.",
1919
"[WDS] Live Reloading enabled.",
2020
"[WDS] Disconnected!",
2121
]
2222
`;
2323

24-
exports[`clientMode ws on browser client logs correctly 1`] = `
24+
exports[`transportMode client ws on browser client logs correctly 1`] = `
2525
Array [
2626
"Hey.",
2727
"[WDS] Live Reloading enabled.",

0 commit comments

Comments
 (0)
Please sign in to comment.