File size: 821 Bytes
f2bee8a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
describe('no-op', () => {
    test('no-op', () => {});
});
// tw: we intentionally break this test
/*
import {translateVideo} from '../../../src/lib/libraries/decks/translate-video.js';

describe('translateVideo', () => {
    test('returns the id if it is not found', () => {
        expect(translateVideo('not-a-key', 'en')).toEqual('not-a-key');
    });

    test('returns the expected id for Japanese', () => {
        expect(translateVideo('intro-move-sayhello', 'ja')).toEqual('v2c2f3y2sc');
    });

    test('returns the expected id for English', () => {
        expect(translateVideo('intro-move-sayhello', 'en')).toEqual('rpjvs3v9gj');
    });

    test('returns the English id for non-existent locales', () => {
        expect(translateVideo('intro-move-sayhello', 'yum')).toEqual('rpjvs3v9gj');
    });
});
*/