{"id":13419,"date":"2023-01-05T20:15:12","date_gmt":"2023-01-05T14:15:12","guid":{"rendered":"https:\/\/shra.ru\/?p=13419"},"modified":"2023-01-19T20:28:13","modified_gmt":"2023-01-19T14:28:13","slug":"uvelichit-timeout-v-mocha","status":"publish","type":"post","link":"https:\/\/shra.ru\/2023\/01\/uvelichit-timeout-v-mocha\/","title":{"rendered":"\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c timeout \u0432 Mocha"},"content":{"rendered":"\n
\u0422\u0430\u0439\u043c-\u0430\u0443\u0442, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 \u043c\u043e\u043a\u043a\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0440\u0430\u0432\u0435\u043d 2\u0441\u0435\u043a, \u0447\u0435\u0433\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0442\u0435\u0441\u0442\u043e\u0432. <\/p>\n\n\n\n\n\n\n\n
\u0415\u0441\u043b\u0438 \u0432\u0430\u043c \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442, \u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 —timeout, \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044f \u0432 \u043c\u0441, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, 10 \u0441\u0435\u043a\u0443\u043d\u0434:<\/p>\n\n\n\n
--timeout 10000<\/code><\/pre>\n\n\n\n\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 package.json \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:<\/p>\n\n\n\n
\"scripts\": {\r\n \"run\": \"tsc.cmd && node .\/dest\/index.js\",\r\n \"test\": \"nyc .\/node_modules\/.bin\/_mocha 'tests\/**\/*.test.ts' --timeout 10000\"\r\n },<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"\u0422\u0430\u0439\u043c-\u0430\u0443\u0442, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 \u043c\u043e\u043a\u043a\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0440\u0430\u0432\u0435\u043d 2\u0441\u0435\u043a, \u0447\u0435\u0433\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u0442\u0435\u0441\u0442\u043e\u0432.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-13419","post","type-post","status-publish","format-standard","hentry","category-programmirovanie"],"acf":[],"yoast_head":"\n
\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0442\u044c timeout \u0432 Mocha<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n