//example code in ExampleService.spec.js for step 8
import Maker from '../../src/index';
//step 8: a new service role ('example') is used
test('test 1', async () => {
const maker = await Maker.create('http', {example: "ExampleService"});
const exampleService = customMaker.service('example');
exampleService.test(); //logs "test"
//step 8: a custom service replaces a default service (Web3)
test('test 2', async () => {
const maker = await Maker.create('http', {web3: "MyCustomWeb3Service"});
const mycustomWeb3Service = maker.service('web3');