-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(tests): update test environment
- bump vite from 4.3.9 to 4.4.4 - bump vitest from 0.32.2 to 0.33.0 - drop @vitest/ui and serve - reorganize fixtures - replace @vitest/coverage-c8 with @vitest/coverage-v8 - vitest-dev/vitest#3339 Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
- Loading branch information
1 parent
72a9672
commit d2ddb0d
Showing
91 changed files
with
522 additions
and
1,030 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
__fixtures__/author.interface.ts → __fixtures__/interfaces/author.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
__fixtures__/book.interface.ts → __fixtures__/interfaces/book.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
__fixtures__/person.interface.ts → __fixtures__/interfaces/person.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
__fixtures__/publisher.interface.ts → __fixtures__/interfaces/publisher.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/** | ||
* @file Test Fixtures - Vehicle | ||
* @module tests/fixtures/types/Vehicle | ||
*/ | ||
|
||
/** | ||
* Object representing a vehicle. | ||
*/ | ||
type Vehicle = { | ||
/** | ||
* Vehicle manufacturer. | ||
*/ | ||
make: string | ||
|
||
/** | ||
* Vehicle model. | ||
*/ | ||
model: string | ||
|
||
/** | ||
* Vehicle identification number. | ||
*/ | ||
vin: string | ||
|
||
/** | ||
* Vehicle model year. | ||
*/ | ||
year: number | ||
} | ||
|
||
export type { Vehicle as default } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,22 @@ | ||
/** | ||
* @file Test Fixtures - Vehicle | ||
* @module tests/fixtures/Vehicle | ||
* @file Test Fixtures - VEHICLE | ||
* @module fixtures/VEHICLE | ||
*/ | ||
|
||
import type { Opaque } from '#src/types' | ||
import type Vehicle from './types/vehicle' | ||
|
||
/** | ||
* Object representing a vehicle. | ||
* Vehicle tag. | ||
* | ||
* @const {symbol} VEHICLE_TAG | ||
*/ | ||
type Vehicle = { | ||
/** | ||
* Vehicle brand. | ||
*/ | ||
make: string | ||
|
||
/** | ||
* Vehicle model. | ||
*/ | ||
model: string | ||
|
||
/** | ||
* Vehicle identification number. | ||
*/ | ||
vin: string | ||
|
||
/** | ||
* Vehicle model year. | ||
*/ | ||
year: number | ||
} | ||
export const VEHICLE_TAG: symbol = Symbol('vehicle') | ||
|
||
export type { Vehicle as default } | ||
export default { | ||
[VEHICLE_TAG]: 'vehicle', | ||
make: faker.vehicle.manufacturer(), | ||
model: faker.vehicle.model(), | ||
vin: '0WBW1G4D29TC62167', | ||
year: faker.date.past({ years: 3 }).getFullYear() | ||
} as Opaque<Vehicle, 'vehicle'> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/dist/index.d.ts b/dist/index.d.ts | ||
index v0.33.0..v0.33.0 | ||
--- a/dist/index.d.ts | ||
+++ b/dist/index.d.ts | ||
@@ -115,1 +115,1 @@ | ||
- <Expected>(...MISMATCH: MismatchArgs<Equal<Actual, Expected, Options['branded']>, Options['positive']>): true; | ||
+ <Expected>(...MISMATCH: MismatchArgs<Equal<Actual, Expected>, Options['positive']>): true; | ||
diff --git a/dist/vendor-cli-api.bf4b62a8.js b/dist/vendor-cli-api.bf4b62a8.js | ||
index v0.33.0..v0.33.0 | ||
--- a/dist/vendor-cli-api.bf4b62a8.js | ||
+++ b/dist/vendor-cli-api.bf4b62a8.js | ||
@@ -11958,3 +11958,2 @@ | ||
- const suite = lastSuite; | ||
- while (lastSuite !== file && lastSuite.end < index) | ||
- lastSuite = suite.suite; | ||
+ while (lastSuite !== file && lastSuite.end < index) | ||
+ lastSuite = lastSuite.suite; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.