'use strict' ; import tmrm = require ( 'azure-pipelines-task-lib/mock-run' ) ; import path = require ( 'path' ) ; import os = require ( 'os' ) ; let taskPath = path . join ( __dirname , '..' , 'ipa-resign.js' ) ; let tmr = new tmrm . TaskMockRunner ( taskPath ) ; process . env [ 'HOME' ] = '/usr/testuser/' ; os . platform = ( ) => { return 'win32' ; } ; tmr . registerMock ( 'os' , os ) ; tmr . run ( ) ;