Skip to content

Commit

Permalink
fix(test): Correctly add dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sannajammeh committed Jan 20, 2022
1 parent 2e567d3 commit 67c83c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions test/development/basic/emit-decorator-metadata.test.ts
Expand Up @@ -15,6 +15,10 @@ describe('emitDecoratorMetadata SWC option', () => {
),
pages: new FileRef(join(__dirname, 'emit-decorator-metadata/pages')),
},
dependencies: {
'reflect-metadata': '0.1.13',
tsyringe: '4.6.0',
},
})
})

Expand Down
3 changes: 1 addition & 2 deletions test/development/basic/emit-decorator-metadata/jsconfig.json
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"jsx": "preserve"
"emitDecoratorMetadata": true
}
}
Expand Up @@ -3,7 +3,7 @@ import 'reflect-metadata'
import { container, singleton } from 'tsyringe'

@singleton()
export class HelloService {
class HelloService {
getHello() {
return 'Hello, world!'
}
Expand Down

0 comments on commit 67c83c0

Please sign in to comment.