phantomjs에서 Promise를 지원하지 않기 때문이다.
해결
spec html문서에 polyfill을 추가하자
<script src="https://cdn.jsdelivr.net/npm/promise-polyfill"></script>
phantomjs에서 Promise를 지원하지 않기 때문이다.
spec html문서에 polyfill을 추가하자
<script src="https://cdn.jsdelivr.net/npm/promise-polyfill"></script>