File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 77 name : ${{matrix.node}}
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v2
11- - uses : dcodeIO /setup-node-nvm@master
10+ - uses : actions/checkout@v3
11+ - uses : actions /setup-node@v3
1212 with :
1313 node-version : ${{matrix.node}}
1414 - run : npm install
1717 strategy :
1818 matrix :
1919 node :
20- - lts/erbium
20+ - lts/hydrogen
2121 - node
Original file line number Diff line number Diff line change 5959 "./pt-pt.js" : " ./pt-pt.js"
6060 },
6161 "devDependencies" : {
62+ "@types/node" : " ^18.0.0" ,
6263 "@types/tape" : " ^4.0.0" ,
6364 "c8" : " ^7.0.0" ,
6465 "cuss" : " ^2.0.0" ,
Original file line number Diff line number Diff line change 1- import test from 'tape'
1+ import assert from 'node:assert'
2+ import test from 'node:test'
23import { profanities } from './index.js'
34
4- test ( 'profanities' , ( t ) => {
5- t . equal ( typeof profanities , 'object' , 'should be an array #1' )
6- t . equal ( Array . isArray ( profanities ) , true , 'should be an array #2' )
7- t . notEqual ( profanities . indexOf ( 'barf' ) , - 1 , 'should contain words' )
8- t . end ( )
5+ test ( 'profanities' , ( ) => {
6+ assert . equal ( typeof profanities , 'object' , 'should be an array #1' )
7+ assert . equal ( Array . isArray ( profanities ) , true , 'should be an array #2' )
8+ assert . notEqual ( profanities . indexOf ( 'barf' ) , - 1 , 'should contain words' )
99} )
You can’t perform that action at this time.
0 commit comments