Skip to content

Commit

Permalink
test: add dummy test
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Mar 23, 2024
1 parent 9767c78 commit f148d7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ava.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const {
} = process.env;

module.exports = () => {
let files = ['src/**/*.test.ts', '!src/types.test.ts'];
let files = ['src/**/*.test.ts'];

if (TEST_ONLY === 'utilities') {
files = ['src/**/*.test.ts', '!src/integration.test'];
Expand Down
5 changes: 5 additions & 0 deletions src/types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@

import { createPool, createSqlTag } from '.';
import { type QueryResult } from './types';
import test from 'ava';
import { expectTypeOf } from 'expect-type';
import { z } from 'zod';

test('ok', (t) => {
t.true(true);
});

const ZodRow = z.object({
bar: z.boolean(),
foo: z.string(),
Expand Down

0 comments on commit f148d7d

Please sign in to comment.