File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -14,18 +14,15 @@ describe("index.ts exports", () => {
1414 expect ( DefaultExport ) . toBe ( OpenCoderPlugin )
1515 } )
1616
17- it ( "should export the plugin name from package.json" , ( ) => {
18- expect ( name ) . toBe ( "opencode-plugin-opencoder" )
17+ it ( "should export name matching package.json" , ( ) => {
1918 expect ( name ) . toBe ( pkg . name )
2019 } )
2120
22- it ( "should export the version from package.json" , ( ) => {
23- expect ( version ) . toMatch ( / ^ \d + \. \d + \. \d + / )
21+ it ( "should export version matching package.json" , ( ) => {
2422 expect ( version ) . toBe ( pkg . version )
2523 } )
2624
27- it ( "should export a description from package.json" , ( ) => {
28- expect ( description ) . toContain ( "autonomous" )
25+ it ( "should export description matching package.json" , ( ) => {
2926 expect ( description ) . toBe ( pkg . description )
3027 } )
3128
You can’t perform that action at this time.
0 commit comments