opbeat-js icon indicating copy to clipboard operation
opbeat-js copied to clipboard

Write tests for both with `async` and without

Open roncohen opened this issue 9 years ago • 1 comments

We need a test that exercises the command queue system both when Opbeat is loaded with async and without. This fixed the non-async case which was unfortunately broken: https://github.com/opbeat/opbeat-js/pull/33

roncohen avatar Dec 30 '15 18:12 roncohen

For vanilla js: If the async attribute is used when including our script from a CDN, the snippet will queue up commands until the script is loaded: https://opbeat.com/docs/articles/get-started-with-javascript/#async

hmdhk avatar Jan 27 '16 14:01 hmdhk