You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 rivejä
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. })