Re-release 1.0.0 (#4)
* renaming package, adding codeowners
* add proper naming test ✔️
This commit is contained in:
Родитель
e8b4451cde
Коммит
5e790f9183
|
@ -0,0 +1,5 @@
|
|||
# These owners will be the default owners for everything in
|
||||
# the repo. Unless a later match takes precedence,
|
||||
# @global-owner1 and @global-owner2 will be requested for
|
||||
# review when someone opens a pull request.
|
||||
* @Azure/platform-chaos
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "azure-chaos-fn",
|
||||
"name": "platform-chaos",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{
|
||||
"name": "azure-chaos-fn",
|
||||
"name": "platform-chaos",
|
||||
"version": "1.0.0",
|
||||
"description": "The base module for all azure-chaos extensions",
|
||||
"description": "A node sdk for building services capable of injecting chaos into PaaS offerings",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"keywords": [
|
||||
"azure",
|
||||
"platform",
|
||||
"chaos"
|
||||
],
|
||||
"author": "Ben Greenier",
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
const assert = require('assert')
|
||||
const index = require('../')
|
||||
|
||||
describe('azure-chaos-fn', () => {
|
||||
describe('platform-chaos', () => {
|
||||
it('is named properly', () => {
|
||||
assert.equal(require('../package.json').name, 'platform-chaos')
|
||||
assert.equal(require('../package-lock.json').name, 'platform-chaos')
|
||||
})
|
||||
it('parses resources', () => {
|
||||
assert.throws(() => {
|
||||
index.validators.resources({
|
||||
|
|
Загрузка…
Ссылка в новой задаче