mirror of
https://github.com/badges/shields.git
synced 2026-11-21 16:06:35 +03:00
20 lines
439 B
JavaScript
20 lines
439 B
JavaScript
'use strict'
|
|
|
|
const { test, given } = require('sazerac')
|
|
const ContinuousPhp = require('./continuousphp.service')
|
|
|
|
describe('ContinuousPhp', function() {
|
|
test(ContinuousPhp.render, () => {
|
|
given({ status: 'unstable' }).expect({
|
|
label: 'build',
|
|
message: 'unstable',
|
|
color: 'yellow',
|
|
})
|
|
given({ status: 'running' }).expect({
|
|
label: 'build',
|
|
message: 'running',
|
|
color: 'blue',
|
|
})
|
|
})
|
|
})
|