diff --git a/resources/js/classes/person.js b/resources/js/classes/person.js index 4068835..6b2cd3f 100644 --- a/resources/js/classes/person.js +++ b/resources/js/classes/person.js @@ -41,4 +41,8 @@ getPersonalData() { return 'secret data'; } + + getSomeMoreInfo() { + return 'more info'; + } } \ No newline at end of file diff --git a/resources/js/classes/person.test.js b/resources/js/classes/person.test.js index 2001a21..fdab946 100644 --- a/resources/js/classes/person.test.js +++ b/resources/js/classes/person.test.js @@ -28,4 +28,8 @@ test("Person class", ()=>{ test("Person class", ()=>{ expect(person.getPersonalData()).toBe('secret data'); +}) + +test("Person class", ()=>{ + expect(person.getSomeMoreInfo()).toBe('more info'); }) \ No newline at end of file