Skip to content

Commit

Permalink
fix(transport): update transport e2e test and rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
knagaitsev committed Jul 23, 2019
1 parent 2b6ea2e commit e3db25e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/e2e/ProvidePlugin.test.js
Expand Up @@ -8,7 +8,7 @@ const port = require('../ports-map').ProvidePlugin;
const { beforeBrowserCloseDelay } = require('../helpers/puppeteer-constants');

describe('ProvidePlugin', () => {
describe('inline with default clientMode (sockjs)', () => {
describe('inline with default transportMode.client (sockjs)', () => {
beforeAll((done) => {
const options = {
port,
Expand Down Expand Up @@ -46,7 +46,7 @@ describe('ProvidePlugin', () => {
});
});

describe('inline with clientMode ws', () => {
describe('inline with transportMode.client ws', () => {
beforeAll((done) => {
const options = {
port,
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/__snapshots__/TransportMode.test.js.snap
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`clientMode custom client on browser client logs correctly 1`] = `
exports[`transportMode client custom client on browser client logs correctly 1`] = `
Array [
"Hey.",
"open",
Expand All @@ -13,15 +13,15 @@ Array [
]
`;

exports[`clientMode sockjs on browser client logs correctly 1`] = `
exports[`transportMode client sockjs on browser client logs correctly 1`] = `
Array [
"Hey.",
"[WDS] Live Reloading enabled.",
"[WDS] Disconnected!",
]
`;

exports[`clientMode ws on browser client logs correctly 1`] = `
exports[`transportMode client ws on browser client logs correctly 1`] = `
Array [
"Hey.",
"[WDS] Live Reloading enabled.",
Expand Down

0 comments on commit e3db25e

Please sign in to comment.