function testResolve(name, context, moduleName, result) {
	describe(name, () => {
		it("should resolve sync correctly", () => {
			const filename = resolve.sync(context, moduleName);
			expect(filename).toBeDefined();
			expect(filename).toEqual(result);
		});

		it("should resolve async correctly", (done) => {
			resolve(context, moduleName, (err, filename) => {
				if (err) return done(err);
				expect(filename).toBeDefined();
				expect(filename).toEqual(result);
				done();
			});
		});
	});
}
@param {string} name name
@param {string} context context
@param {string} moduleName module name
@param {string} result result
@returns {void}