Some checks failed
Node.js CI / build (push) Failing after 2s
Node.js CI / e2e-tests (+(a11y|security|bugs)/**/*cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/!(o|d|m)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/+(o|d)*.cy.js) (push) Failing after 2s
Node.js CI / e2e-tests (features/**/m*.cy.js) (push) Failing after 2s
CodeQL / Analyze (javascript) (push) Failing after 2m49s
Security scan for docker image / build (push) Failing after 54s
13 lines
391 B
JavaScript
Executable File
13 lines
391 B
JavaScript
Executable File
|
|
import path from "path"
|
|
import getAbsoluteFSPath from "../../../swagger-ui-dist-package/absolute-path"
|
|
|
|
describe("swagger-ui-dist", function(){
|
|
describe("getAbsoluteFSPath", function(){
|
|
it("returns absolute path", function(){
|
|
const expectedPath = path.resolve(__dirname, "../../../swagger-ui-dist-package")
|
|
expect(getAbsoluteFSPath()).toEqual(expectedPath)
|
|
})
|
|
})
|
|
})
|