25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

absolute-path.js 435 B

12345678910111213
  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. })