您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

14 行
435 B

  1. /* eslint-env mocha */
  2. import expect from "expect"
  3. import path from "path"
  4. import getAbsoluteFSPath from "../../swagger-ui-dist-package/absolute-path"
  5. describe("swagger-ui-dist", function(){
  6. describe("getAbsoluteFSPath", function(){
  7. it("returns absolute path", function(){
  8. const expectedPath = path.resolve(__dirname, "../../swagger-ui-dist-package")
  9. expect(getAbsoluteFSPath()).toEqual(expectedPath)
  10. })
  11. })
  12. })