• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

akvo / nmis-mobile / 5307859313

19 Jun 2023 04:34AM UTC coverage: 58.824% (-41.2%) from 100.0%
5307859313

Pull #9

github

web-flow
Merge 119546cb3 into 5b9af76bd
Pull Request #9: Tryout/8 sqlite

1 of 6 branches covered (16.67%)

Branch coverage included in aggregate %.

26 of 26 new or added lines in 3 files covered. (100.0%)

19 of 28 relevant lines covered (67.86%)

1.89 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

62.5
/app/src/database/conn.js
1
import { Platform } from 'react-native';
2
import * as SQLite from 'expo-sqlite';
3

4
export const openDatabase = () => {
1✔
5
  if (Platform.OS === 'web') {
1!
6
    return {
×
7
      transaction: () => {
8
        return {
×
9
          executeSql: () => {},
10
        };
11
      },
12
    };
13
  }
14
  const db = SQLite.openDatabase('db.db');
1✔
15
  return db;
1✔
16
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc