googleapis / googleapis/google-api-nodejs-client

add browser integration tests

Open
#1,740 1 comment 2 reactions 0 assignees View on GitHub
type: process web
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

We claim in various responses to issues and docs that `google-api-nodejs-client` can be used with WebPack, and deployed in a browser context.

We, however, have no integration tests that ensure that this is possible ... in fact, we've broken the ability to WebPack `google-api-nodejs-client` a few times in recent months, due to introducing Node.js-specific APIs.

We should:

- [ ] add integration tests (using karma, puppeteer, mocha) that exercise deployment in a browser environment.
- [ ] add an integration test for creating a WebPack bundle.
- [ ] add a sample that demonstrates bundling `google-api-nodejs-client` using WebPack.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.