我工作的一個項目用的類層次是這樣的: % Standard class that has properties and methods shared by all classes in the project
classdef StandardClass < handle
properties (Constant, Abstract)
displayName
en
這是我的模塊和測試我想要的功能: import aVariable from 'aModule'
export function afunction() {
//do something with the imported aVariable
//calculates result
return result
});
我想嘲笑aVariable我摩卡單元測試