style stylee style
This commit is contained in:
parent
f38c05d97c
commit
b8e9a02a14
6 changed files with 80 additions and 30 deletions
|
@ -2,15 +2,20 @@
|
|||
|
||||
test('example test', function (): void {
|
||||
// This is a simple example test
|
||||
expect(true)->toBeTrue();
|
||||
expect(1 + 1)->toBe(2);
|
||||
expect('hello world')->toContain('world');
|
||||
expect(true)
|
||||
->toBeTrue();
|
||||
expect(1 + 1)
|
||||
->toBe(2);
|
||||
expect('hello world')
|
||||
->toContain('world');
|
||||
});
|
||||
|
||||
test('array operations', function (): void {
|
||||
$array = [1, 2, 3];
|
||||
|
||||
expect($array)->toHaveCount(3);
|
||||
expect($array)->toContain(2);
|
||||
|
||||
expect($array)
|
||||
->toHaveCount(3);
|
||||
expect($array)
|
||||
->toContain(2);
|
||||
expect($array[0])->toBe(1);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue