Giter Site home page Giter Site logo

Comments (2)

amavisca avatar amavisca commented on August 17, 2024

I do not think this is an expected change. I tried to reproduce this issue but I was not able to. I made a spec file that looks like this:

describe('testing the context of specs', function() {
  beforeEach(function() {
    this.foo = {bar: 'baz'};
  });

  it('has a context object', function() {
    var foo = this.foo;
    console.log(foo);
    expect(foo).toEqual({bar: 'baz'});
  });
});

and I see:

Chris$ jasmine
Started
{ bar: 'baz' }
.


1 spec, 0 failures
Finished in 0.007 seconds

If this is still an issue for you, could you open an issue in the https://github.com/jasmine/jasmine repo? The jasmine/jasmine-npm repo is just the node wrapper while the jasmine/jasmine repo is the core of jasmine, so if there are problems related to the it in specs I'd suspect they live in the core.

from jasmine-npm.

amavisca avatar amavisca commented on August 17, 2024

I'm going to close this as I wasn't able to reproduce this and haven't heard anything else around it. If you're able to reproduce this or think this is still an issue feel free to re-open. Thanks for using Jasmine!

from jasmine-npm.

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.