Show info on yanked
這個提交存在於:
父節點
b0d2b53281
當前提交
7ac00fce6f
共有 12 個檔案被更改,包括 84 行新增 和 31 行删除
|
@ -11,6 +11,14 @@ describe("console actions", () => {
|
|||
});
|
||||
});
|
||||
|
||||
describe("showInfo", () => {
|
||||
it('create CONSOLE_SHOW_INFO action', () => {
|
||||
let action = consoleActions.showInfo('an info');
|
||||
expect(action.type).to.equal(actions.CONSOLE_SHOW_INFO);
|
||||
expect(action.text).to.equal('an info');
|
||||
});
|
||||
});
|
||||
|
||||
describe("showError", () => {
|
||||
it('create CONSOLE_SHOW_ERROR action', () => {
|
||||
let action = consoleActions.showError('an error');
|
||||
|
|
新增問題並參考