File tree 3 files changed +2
-2
lines changed
3 files changed +2
-2
lines changed File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -5,12 +5,12 @@ import { generate } from '../src/index.js'
5
5
6
6
describe ( 'unsupported' , ( ) => {
7
7
it ( 'should refuse to generate source from proto2 definition' , async ( ) => {
8
- await expect ( generate ( 'test/fixtures/proto2.proto' , { } ) ) . to . eventually . be . rejected
8
+ await expect ( generate ( 'test/bad- fixtures/proto2.proto' , { } ) ) . to . eventually . be . rejected
9
9
. with . property ( 'message' ) . that . contain ( '"required" fields are not allowed in proto3' )
10
10
} )
11
11
12
12
it ( 'should refuse to generate source from empty definition' , async ( ) => {
13
- await expect ( generate ( 'test/fixtures/empty.proto' , { } ) ) . to . eventually . be . rejected
13
+ await expect ( generate ( 'test/bad- fixtures/empty.proto' , { } ) ) . to . eventually . be . rejected
14
14
. with . property ( 'message' ) . that . contain ( 'No top-level messages found in protobuf' )
15
15
} )
16
16
} )
You can’t perform that action at this time.
0 commit comments