tracks/ecmascript/exercises/hello-world/hello-world.spec.js in trackler-2.2.0.0 vs tracks/ecmascript/exercises/hello-world/hello-world.spec.js in trackler-2.2.0.1
- old
+ new
@@ -1,8 +1,8 @@
import HelloWorld from './hello-world';
describe('Hello World', () => {
- let greeter = new HelloWorld();
+ const greeter = new HelloWorld();
test('says hello', () => {
expect(greeter.hello()).toEqual('Hello, World!');
});
});