Files
introduction-to-testing/examples/yearbook/person.test.js
Steve Kinney 61485cc73c Add examples
2024-09-24 15:56:02 -06:00

10 lines
273 B
JavaScript

import { describe, expect, it } from 'vitest';
import { Person } from './person';
describe('Person', () => {
it('should be an instance of a Person', () => {
const person = new Person('John', 'Doe', '2000-01-01');
expect(person).toBeInstanceOf(Person);
});
});