mirror of
https://github.com/wassname/talk.git
synced 2026-08-06 13:41:02 +08:00
Integrate actual translations into integration tests
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user