@ -3,7 +3,7 @@ import { expect, test } from 'vitest'
|
||||
// Edit an assertion and save to see HMR in action
|
||||
|
||||
test('Math.sqrt()', () => {
|
||||
expect(Math.sqrt(4)).toBe(2);
|
||||
expect(Math.sqrt(144)).toBe(12);
|
||||
expect(Math.sqrt(2)).toBe(Math.SQRT2);
|
||||
});
|
||||
expect(Math.sqrt(4)).toBe(2)
|
||||
expect(Math.sqrt(144)).toBe(12)
|
||||
expect(Math.sqrt(2)).toBe(Math.SQRT2)
|
||||
})
|
||||
|
Reference in New Issue
Block a user