Inside the contracts folder, create a .js file that will house our tests; call it test-task-master.js.
Inside the test-task-master.js file, let's import our contract so we can make use of it in our tests:
const TaskMaster = artifacts.require("../contracts/TaskMaster.sol");
artifacts is automatically injected by Truffle inside our test environment, and it allows us to instantiate our contract easily for the purpose of testing.
Next, let's define a function where we will place ...