Got an error in testing

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

My question: I have one test failing and could not figure out what is the problem

Details (like screenshots):

How I found the problem:

{
				"name": "Get Opening Hours",
				"event": [
					{
						"listen": "test",
						"script": {
							"exec": [
								"pm.test(\"Status code is 200\", function(){\r",
								"    pm.response.to.have.status(200);\r",
								"});\r",
								"\r",
								"// Get the hour\r",
								"var hour =  parseInt(pm.response.json().dates[0].branches[0].openingHours[0].from.substring(0,2));\r",
								"\r",
								"pm.test(\"Time difference is right\", function(){\r",
								"    // Modulo to fix when midnight is passed\r",
								"   pm.expect( (hour) % 12 ).to.eql( (pm.environment.get(\"hour\") + parseInt(pm.environment.get(\"timeDiff\"))) % 12);\r",
								"});"
							],
							"type": "text/javascript"
						}
					}
				],
				"request": {
					"method": "GET",
					"header": [],
					"url": {
						"raw": "{{baseUrl}}/customers/{{customerId}}/openinghours",
						"host": [
							"{{baseUrl}}"
						],
						"path": [
							"customers",
							"{{customerId}}",
							"openinghours"
						]
					}
				},
				"response": []
			},

the problem is in pm.expect line , my question is how I can find the problem ?
I’ve already tried: