alibaba / alibaba/ice

单元测试 alias 判断错误

Open
#5,952 0 comments 0 reactions 1 assignee Claimed by @luhc228 View on GitHub
bug
Dominant language
TypeScript
Stars
18.6k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

alias 配置为具体的文件路径而不是目录的时候,解析会出错
![image](https://user-images.githubusercontent.com/44047106/220339513-315df97f-a66a-45b9-befc-c0fb36adb444.png)

![image](https://user-images.githubusercontent.com/44047106/220340458-670433f9-10de-4d52-abe6-f682f3cafcf7.png)

### Expected behavior

单测能正常运行

### Actual behavior

_No response_

### Version of ice.js

3.1.1

### Content of build.json or ice.config.mts

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.