Integrate actual translations into integration tests

This commit is contained in:
Chi Vinh Le
2018-08-29 22:55:13 +02:00
parent 0b3a67601c
commit a99fe3c0ff
24 changed files with 972 additions and 78 deletions
@@ -11,6 +11,7 @@ import { createInMemoryStorage } from "talk-framework/lib/storage";
import AppContainer from "talk-stream/containers/AppContainer";
import createEnvironment from "./createEnvironment";
import createFluentBundle from "./createFluentBundle";
import createNodeMock from "./createNodeMock";
import { assets, comments } from "./fixtures";
@@ -63,7 +64,7 @@ beforeEach(() => {
const context: TalkContext = {
relayEnvironment: environment,
localeBundles: [],
localeBundles: [createFluentBundle()],
localStorage: createInMemoryStorage(),
sessionStorage: createInMemoryStorage(),
rest: new RestClient("http://localhost/api"),