Skip to content

Running tests on local not working #4720

@SmartDever02

Description

@SmartDever02

I cloned this repo, and trying to run tests by opening tests/index.html on browser but I am getting following error

Image
<body>
<!--StartFragment--><span class="test-message" style="color: rgb(113, 9, 9); font-family: &quot;Helvetica Neue Light&quot;, HelveticaNeue-Light, &quot;Helvetica Neue&quot;, Calibri, Helvetica, Arial, sans-serif; font-size: small; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">Died on test #1     at Object.test (https://code.jquery.com/qunit/qunit-2.17.1.js:2919:5): window.fullpage is not a constructor</span><span class="runtime" style="float: right; font-size: smaller; color: rgb(113, 9, 9); font-family: &quot;Helvetica Neue Light&quot;, HelveticaNeue-Light, &quot;Helvetica Neue&quot;, Calibri, Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">@ 2 ms</span>
Source: | TypeError: window.fullpage is not a constructor     at initFullpageNew (file:///E:/gittensor-projects/fullPage.js/tests/utils.js:460:20)     at Object.<anonymous> (file:///E:/gittensor-projects/fullPage.js/tests/unit/setAllowScrolling.js:3:14)
-- | --


<!--EndFragment-->
</body>
</html>```

Is it because of license or something?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions