File tree 3 files changed +27
-1
lines changed
3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [main]
6
+
7
+ jobs :
8
+ tests :
9
+ name : Run Unit Tests
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+
16
+ - name : Setup Node.js
17
+ uses : actions/setup-node@v2
18
+ with :
19
+ node-version : ' 18'
20
+
21
+ - name : Install Dependencies
22
+ run : npm ci
23
+
24
+ - name : Run Tests
25
+ run : npm test
Original file line number Diff line number Diff line change 2
2
"name" : " metabob" ,
3
3
"displayName" : " Metabob: Debug and Refactor with AI" ,
4
4
"description" : " Generative AI to automate debugging and refactoring Python code" ,
5
- "version" : " 1.1 .0" ,
5
+ "version" : " 1.2 .0" ,
6
6
"icon" : " media/extension-icon.png" ,
7
7
"repository" : {
8
8
"url" : " https://github.com/MetabobProject/metabob-vscode" ,
Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ import { useContext } from 'react';
2
2
import { AccountSettingContext } from '../context/UserContext' ;
3
3
4
4
// @ts -ignore
5
+ // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
5
6
export const useUser = ( ) => useContext ( AccountSettingContext ) ;
You can’t perform that action at this time.
0 commit comments