add initial macOS support #40
This commit is contained in:
15
tests/unit/stubs/ScriptCodeStub.ts
Normal file
15
tests/unit/stubs/ScriptCodeStub.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { IScriptCode } from '@/domain/IScriptCode';
|
||||
|
||||
export class ScriptCodeStub implements IScriptCode {
|
||||
public execute = 'default execute code';
|
||||
public revert = 'default revert code';
|
||||
|
||||
public withExecute(code: string) {
|
||||
this.execute = code;
|
||||
return this;
|
||||
}
|
||||
public withRevert(revert: string) {
|
||||
this.revert = revert;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user