UNPKG
chai-fireproof
Version:
latest (0.2.0)
0.2.0
0.1.4
0.1.0
Firebase and Fireproof support for the Chai assertion library.
chai-fireproof
/
test
/
spec
/
core.js
14 lines
(7 loc)
•
260 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict'
;
describe
(
'chai-fireproof'
,
function
(
) {
it
(
'modifies Chai assertions to return a promise for Firebase refs'
,
function
(
) {
var
promise =
expect
(root.
child
(
'foo'
)).
to
.
equal
(
null
);
expect
(promise.
then
).
to
.
be
.
a
(
'function'
); }); });