Skip to content

使用 path.join 替代掉 __dirname + '/data' 之类路径拼接方式 #8

Description

@hejianghu

Unix 系的系统使用这种路径,windows 系统下会拼接出来如下的结果:
node_practice\ex01\__tests__/data

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions