Skip to content

CT AssertionError [ERR_ASSERTION]: unused deprecated strings exist on main. let's remove them #1615

Open

Description

@KatieWoe
chipper : test-deprecated-string-keys
npm run failed with status code 1:

> chipper@2.0.0 test-deprecated-string-keys
> bash ../perennial-alias/bin/sage run js/scripts/assertAllDeprecatedStringKeysUsed.ts

info: loading phet brand ReleaseBranches
info: getting metadata request with https://phet.colorado.edu/services/metadata/1.3/simulations?format=json&summary&includePrototypes&type=html
info: loading phet-io brand ReleaseBranches
info: getting phet-io metadata request with https://phet.colorado.edu/services/metadata/phetio?&active=true&latest=true

node:internal/process/promises:391
    triggerUncaughtException(err, true /* fromPromise */);
    ^

AssertionError [ERR_ASSERTION]: unused deprecated strings exist on main. let's remove them: 
SOCCER_COMMON/characterSet.unitedStatesOfAmerica,
SOCCER_COMMON/characterSet.africa,
SOCCER_COMMON/characterSet.africaModest

    at <anonymous> (/data/share/phet/continuous-testing/ct-main/ct-snapshots/1754039987208/chipper/js/scripts/assertAllDeprecatedStringKeysUsed.ts:80:10) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: false,
  expected: true,
  operator: '=='
}

Node.js v20.18.0
Snapshot from 8/1/2025, 3:19:47 AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions