GithubHelp home page GithubHelp logo

Comments (4)

pbjorklund avatar pbjorklund commented on June 11, 2024 2

I don't think this is "small", it's a very valid point. Anything purely related to tests should not be part of the dist. @patrick-rodgers has started the work on moving tests out from the old structure where each .ts file had a matching tests.ts file. See the sharepoint/rest/tests folder.

What about using the same structure as https://github.com/Microsoft/TypeScript with a separate /test folder under the root of the library?

I would volunteer to make sure that all tests are moved to /tests and that for instance gulp is updated to work against that structure.

from pnp-js-core.

patrick-rodgers avatar patrick-rodgers commented on June 11, 2024 1

This is something we talked about in early days and folks felt like having the .test.ts file along side the .ts file made it clearer and more obvious. At the time I agreed, but now that we have already grown and will continue to grow I am leaning towards moving to a separate test folder. I think it would be cleaner and reduce the "clutter" in the src folders. If you want to commit to moving things and updating the associated test gulp tasks that would be great, @pbjorklund .

from pnp-js-core.

pbjorklund avatar pbjorklund commented on June 11, 2024

#62 handles this.

from pnp-js-core.

patrick-rodgers avatar patrick-rodgers commented on June 11, 2024

Closing this as it was indeed resolved by #62. Great work by @pbjorklund on this.

from pnp-js-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.