Skip to content

Commit

Permalink
Clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Mar 4, 2023
1 parent 7c07339 commit 0aa6021
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion deno/lib/__tests__/branded.test.ts
Expand Up @@ -54,7 +54,6 @@ test("branded types", () => {
type AgeInput = z.input<typeof age>;

util.assertEqual<AgeInput, Age>(false);

util.assertEqual<number, AgeInput>(true);
util.assertEqual<number & z.BRAND<"age">, Age>(true);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,6 @@
"main": "./lib/index.js",
"types": "./index.d.ts",
"module": "./lib/index.mjs",
"dependencies": {},
"exports": {
".": {
"require": "./lib/index.js",
Expand Down Expand Up @@ -43,6 +42,7 @@
"type",
"inference"
],
"dependencies": {},
"scripts": {
"prettier:check": "prettier --check src/**/*.ts deno/lib/**/*.ts --no-error-on-unmatched-pattern",
"prettier:fix": "prettier --write src/**/*.ts deno/lib/**/*.ts --ignore-unknown --no-error-on-unmatched-pattern",
Expand Down
1 change: 0 additions & 1 deletion src/__tests__/branded.test.ts
Expand Up @@ -53,7 +53,6 @@ test("branded types", () => {
type AgeInput = z.input<typeof age>;

util.assertEqual<AgeInput, Age>(false);

util.assertEqual<number, AgeInput>(true);
util.assertEqual<number & z.BRAND<"age">, Age>(true);

Expand Down

0 comments on commit 0aa6021

Please sign in to comment.