Skip to content

Commit be828eb

Browse files
committed
chore(demo): add test for issue 113
1 parent f052651 commit be828eb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

apps/demo/src/plugin-demos/firebase-database.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export class DemoModel extends DemoSharedFirebaseDatabase {
2222
this.randomData();
2323
this.children();
2424
this.setData();
25+
this.issue113();
2526
}
2627

2728
issue105() {
@@ -42,6 +43,18 @@ export class DemoModel extends DemoSharedFirebaseDatabase {
4243
});
4344
}
4445

46+
issue113() {
47+
this.database
48+
.ref('/issues/113')
49+
.set(2.1)
50+
.then((v) => {
51+
console.log('done');
52+
})
53+
.catch((e) => {
54+
console.log('error', e);
55+
});
56+
}
57+
4558
setData() {
4659
this.database
4760
.ref('/person/me')

0 commit comments

Comments
 (0)