Skip to content

docs: move overlay, progress, and webSocketURL examples to client #3721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ npm-debug.log
.idea

client
!/examples/client
!/test/client
coverage
node_modules
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// our setup function adds behind-the-scenes bits to the config that all of our
// examples need
const { setup } = require("../util");
const { setup } = require("../../util");

module.exports = setup({
context: __dirname,
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// our setup function adds behind-the-scenes bits to the config that all of our
// examples need
const { setup } = require("../util");
const { setup } = require("../../util");

module.exports = setup({
context: __dirname,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// our setup function adds behind-the-scenes bits to the config that all of our
// examples need
const { setup } = require("../util");
const { setup } = require("../../util");

module.exports = setup({
context: __dirname,
Expand Down
4 changes: 2 additions & 2 deletions test/cli/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe("basic", () => {
);
const examplePath = path.resolve(
__dirname,
"../../examples/web-socket-url"
"../../examples/client/web-socket-url"
);
const cp = execa("node", ["--port", port, cliPath], { cwd: examplePath });

Expand Down Expand Up @@ -153,7 +153,7 @@ describe("basic", () => {
);
const examplePath = path.resolve(
__dirname,
"../../examples/web-socket-url"
"../../examples/client/web-socket-url"
);
const cp = execa(
"node",
Expand Down