Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
14d61788
Commit
14d61788
authored
Oct 16, 2022
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add gitlab-ci and remove unused test and update .gitignore
parent
db167f92
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
9 deletions
+24
-9
.gitignore
.gitignore
+1
-0
.gitlab-ci.yml
.gitlab-ci.yml
+23
-0
src/App.test.tsx
src/App.test.tsx
+0
-9
No files found.
.gitignore
View file @
14d61788
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
# production
# production
/build
/build
/builds
# misc
# misc
.DS_Store
.DS_Store
...
...
.gitlab-ci.yml
0 → 100644
View file @
14d61788
stages
:
-
build
-
test
-
deploy
variables
:
GIT_DEPTH
:
"
1"
npm_build
:
stage
:
build
tags
:
-
linux
script
:
-
npm ci
-
npm run build
# npm_test:
# stage: test
# tags:
# - linux
# script: npm run test
# dependencies:
# - npm_build
src/App.test.tsx
deleted
100644 → 0
View file @
db167f92
import
React
from
"
react
"
;
import
{
render
,
screen
}
from
"
@testing-library/react
"
;
import
App
from
"
./App
"
;
test
(
"
renders learn react link
"
,
()
=>
{
render
(<
App
/>);
const
linkElement
=
screen
.
getByText
(
/learn react/i
);
expect
(
linkElement
).
toBeInTheDocument
();
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment