move esnext tests into their own fixtures folder
This commit is contained in:
10
test/fixtures/esnext/es6-classes/class-with-method-declaration.js
vendored
Normal file
10
test/fixtures/esnext/es6-classes/class-with-method-declaration.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
class Person {
|
||||
getName() {
|
||||
return this.firstName + ' ' + this.lastName;
|
||||
}
|
||||
}
|
||||
|
||||
var me = new Person();
|
||||
me.firstName = 'Brian';
|
||||
me.lastName = 'Donovan';
|
||||
assert.equal(me.getName(), 'Brian Donovan');
|
||||
Reference in New Issue
Block a user