diff --git a/bridge/e2e/perf/perf.e2e.js b/bridge/e2e/perf/perf.e2e.js index 95c84fd2..78df76c4 100644 --- a/bridge/e2e/perf/perf.e2e.js +++ b/bridge/e2e/perf/perf.e2e.js @@ -30,7 +30,7 @@ describe('perf()', () => { describe('newHttpMetric()', () => { it('returns an instance of HttpMetric', async () => { - const trace = firebase.perf().newHttpMetric('foo', 'bar'); + const trace = firebase.perf().newHttpMetric('http://foo.com', 'GET'); trace.constructor.name.should.be.equal('HttpMetric'); }); diff --git a/bridge/e2e/perf/trace.e2e.js b/bridge/e2e/perf/trace.e2e.js index 00b5432d..d9d118e5 100644 --- a/bridge/e2e/perf/trace.e2e.js +++ b/bridge/e2e/perf/trace.e2e.js @@ -28,7 +28,7 @@ describe('perf()', () => { await trace.start(); await trace.putAttribute('foo', 'bar'); const value = await trace.getAttribute('foo'); - value.shoud.equal('bar'); + value.should.equal('bar'); await trace.stop(); });