File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed
Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 2929 " /yarn.lock"
3030 ],
3131 "homepage" : " https://github.com/twilio-labs/plugin-token" ,
32- "keywords" : [
33- " oclif-plugin"
34- ],
32+ "keywords" : [" oclif-plugin" ],
3533 "license" : " MIT" ,
3634 "oclif" : {
3735 "name" : " token" ,
3836 "commands" : " ./src/commands" ,
3937 "bin" : " twilio" ,
40- "devPlugins" : [
41- " @oclif/plugin-help"
42- ],
38+ "devPlugins" : [" @oclif/plugin-help" ],
4339 "topics" : {
4440 "token" : {
4541 "description" : " Generate a temporary token for use in test applications"
Original file line number Diff line number Diff line change 11const chai = require ( 'chai' ) ;
2- const sinon = require ( 'sinon' ) ;
3- const Twilio = require ( 'twilio' ) ;
4-
5- const validateSid = require ( '../../src/helpers/validation-helpers.js' ) . validateSid ;
2+ const validateSid =
3+ require ( '../../src/helpers/validation-helpers.js' ) . validateSid ;
64
75describe ( 'validateSid' , ( ) => {
8- context (
9- 'when a chat service SID is valid' ,
10- ( ) => {
6+ context ( 'when a chat service SID is valid' , ( ) => {
117 it ( 'returns true' , ( ) => {
128 const result = validateSid ( 'IS' , 'IS12345678901234567890123456789012' ) ;
139 chai . expect ( result ) . to . be . true ;
You can’t perform that action at this time.
0 commit comments