penguinmod-editor-2 / test /unit /util /translate-video.test.js
soiz1's picture
Upload 2891 files
6bcb42f verified
raw
history blame contribute delete
821 Bytes
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');
});
});
*/