xref: /expo/apps/test-suite/tests/Constants.js (revision f10e66fc)
1'use strict';
2
3import { Constants } from 'expo';
4
5export const name = 'Constants';
6
7export function test(t) {
8  t.describe('Constants', () => {
9    [
10      'expoVersion',
11      'deviceName',
12      'deviceYearClass',
13      'installationId',
14      'isDevice',
15      'sessionId',
16      'manifest',
17      'linkingUri',
18    ].forEach(v =>
19      t.it(`has ${v}`, () => {
20        t.expect(Constants[v]).toBeDefined();
21      })
22    );
23  });
24}
25