Commit f4057a85 authored by Totmak's avatar Totmak
Browse files

docker test

parent cff4744a
Pipeline #41246 failed with stages
in 50 seconds
stages:
- build
- test
docker-build:
# Use the official docker image.
......@@ -17,3 +18,9 @@ docker-build:
# Run this job in a branch where a Dockerfile exists
rules:
- if: '$CI_COMMIT_BRANCH == "unstable"'
test:
image: docker:latest
stage: test
script:
- docker run "$CI_REGISTRY_IMAGE${tag}"
......@@ -2,8 +2,8 @@
var test = require('../monopoly/code/test');
describe('Calculator', () => {
it('should add two numbers', () => {
describe('Test', () => {
it('should be true', () => {
expect(test).toBe(true);
});
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment