Skip to content

Commit

Permalink
fix: build system
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisBrunner committed Apr 5, 2021
1 parent e4733ae commit 9fddf82
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions @types/protobuf.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
declare module "*/format.proto" {
import type Pbf from 'pbf'

export type Message = {
read(pbf: Pbf): Record<string, unknown>;
write(buf: Record<string, unknown>, pbf: Pbf): void;
}

export const ConfigMessage: Message
export const PronounMessage: Message
}
1 change: 1 addition & 0 deletions __tests__/placeholder.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ describe('placeholder', () => {
})

// FIXME: remove when they are actual tests
// eslint-disable-next-line jest/no-export
export {}
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ module.exports = {
collectCoverageFrom: [
'!.next/**/*',
'!node_modules/**/*',
'!coverage/**/*',
'!out/**/*',
'!**/*.d.ts',
'!**/*.json',
],
testPathIgnorePatterns: [
'/coverage/',
'/node_modules/',
'/.next/',
'/out/',
Expand Down

0 comments on commit 9fddf82

Please sign in to comment.