Tests for the v9 implementation of UpdateData by MarkDuckworth · Pull Request #7319 · firebase/firebase-js-sdk (original) (raw)

Tests in this PR are being added to ensure that UpdateData does not regress. These tests do not evaluate any JS implementation, they only evaluate TS types, therefore you do not see any meaningful expect statements in these tests. Type behavior is asserted during the TS compilation, if the tests do not build then the tests are failing.

Empty assertions expect(true).to.be.true are included to avoid possible flagging of tests that do not perform assertions.